{
  "id": 227379,
  "title": "How to drop the totally black image?",
  "url": "/competitions/hubmap-kidney-segmentation/discussion/227379",
  "author_name": "Zhenghan Chen",
  "post_date": "2021-03-20T07:50:05.535000",
  "votes": 0,
  "comment_count": 1,
  "views": 0,
  "content": "<p>I am new of  CV. I used public kernel but there are some black images include that I want to drop them. I used if (s&gt;s_th).sum() &lt;= p_th or im.sum() &lt;= p_th: continue<br>\nbut it seems not work for black images. who could provide me some methods. Salute.</p>",
  "messages": [
    {
      "id": 1245823,
      "postDate": "2021-03-20T07:50:05.537Z",
      "content": "<p>I am new of  CV. I used public kernel but there are some black images include that I want to drop them. I used if (s&gt;s_th).sum() &lt;= p_th or im.sum() &lt;= p_th: continue<br>\nbut it seems not work for black images. who could provide me some methods. Salute.</p>",
      "rawMarkdown": "I am new of  CV. I used public kernel but there are some black images include that I want to drop them. I used if (s>s_th).sum() <= p_th or im.sum() <= p_th: continue\nbut it seems not work for black images. who could provide me some methods. Salute."
    },
    {
      "id": 1245864,
      "postDate": "2021-03-20T09:28:00.963Z",
      "rawMarkdown": "",
      "isDeleted": true
    }
  ],
  "comments": [
    {
      "id": 1245864,
      "author_name": "",
      "author_url": "",
      "post_date": "2021-03-20T09:28:00.963000",
      "content": "",
      "votes": 0,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1245823": "I am new of  CV. I used public kernel but there are some black images include that I want to drop them. I used if (s>s_th).sum() <= p_th or im.sum() <= p_th: continue\nbut it seems not work for black images. who could provide me some methods. Salute.",
    "1245864": ""
  }
}