{
  "id": 255319,
  "title": "why Black image in data ?",
  "url": "/competitions/rsna-miccai-brain-tumor-radiogenomic-classification/discussion/255319",
  "author_name": "",
  "post_date": "2021-07-27T02:03:22.913837300Z",
  "votes": 1,
  "comment_count": 4,
  "views": 0,
  "content": "<p>When i plot the image some of the images are realy close to black <br>\nthis is the code for ploting the image.<br>\ndid i do some thing wrong ?<br>\n       <code>dcm_img=pdc.dcmread(img)</code><br>\n       <code>img_array=dcm_img.pixel_array</code><br>\n       <code>#img_array = apply_voi_lut(img_array,dcm_img, index=0)</code><br>\n       <code>resized_img = cv.resize(img_array,(500,500), interpolation = cv.INTER_AREA)</code><br>\n       <code>plt.subplot(disp_rows,4,index+1)</code><br>\n       <code>plt.imshow(resized_img,cmap=plt.cm.bone);plt.axis('off')</code></p>",
  "messages": [
    {
      "id": "1401100",
      "postDate": "07/27/2021 02:03:22",
      "content": "<p>When i plot the image some of the images are realy close to black <br>\nthis is the code for ploting the image.<br>\ndid i do some thing wrong ?<br>\n       <code>dcm_img=pdc.dcmread(img)</code><br>\n       <code>img_array=dcm_img.pixel_array</code><br>\n       <code>#img_array = apply_voi_lut(img_array,dcm_img, index=0)</code><br>\n       <code>resized_img = cv.resize(img_array,(500,500), interpolation = cv.INTER_AREA)</code><br>\n       <code>plt.subplot(disp_rows,4,index+1)</code><br>\n       <code>plt.imshow(resized_img,cmap=plt.cm.bone);plt.axis('off')</code></p>",
      "rawMarkdown": "When i plot the image some of the images are realy close to black \nthis is the code for ploting the image.\ndid i do some thing wrong ?\n       ``dcm_img=pdc.dcmread(img)``\n       `` img_array=dcm_img.pixel_array``\n       `` #img_array = apply_voi_lut(img_array,dcm_img, index=0)``\n       `` resized_img = cv.resize(img_array,(500,500), interpolation = cv.INTER_AREA)``\n       `` plt.subplot(disp_rows,4,index+1)``\n       `` plt.imshow(resized_img,cmap=plt.cm.bone);plt.axis('off')``",
      "votes": null
    },
    {
      "id": "1401101",
      "postDate": "07/27/2021 02:08:29",
      "content": "<p>A lot of the images are just air. There is no anatomy in them. It's normal.</p>",
      "rawMarkdown": "A lot of the images are just air. There is no anatomy in them. It's normal.",
      "votes": null
    },
    {
      "id": "1401114",
      "postDate": "07/27/2021 02:41:03",
      "content": "<p>oh thank you sir  i understanf now, it's more clear right now.</p>",
      "rawMarkdown": "oh thank you sir  i understanf now, it's more clear right now.",
      "votes": null
    },
    {
      "id": "1401653",
      "postDate": "07/27/2021 13:19:19",
      "content": "<p>You can find clean dataset here <a href=\"https://www.kaggle.com/jonathanbesomi/rsna-miccai-png\" target=\"_blank\">https://www.kaggle.com/jonathanbesomi/rsna-miccai-png</a></p>",
      "rawMarkdown": "You can find clean dataset here https://www.kaggle.com/jonathanbesomi/rsna-miccai-png",
      "votes": null
    },
    {
      "id": "1402170",
      "postDate": "07/27/2021 23:55:46",
      "content": "<p>thanks for sharing you saved me time ,  I was creating my own png data with datagen.</p>",
      "rawMarkdown": "thanks for sharing you saved me time ,  I was creating my own png data with datagen.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1401101,
      "author_name": "davidbroberts",
      "author_url": "",
      "post_date": "07/27/2021 02:08:29",
      "content": "<p>A lot of the images are just air. There is no anatomy in them. It's normal.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1401114,
      "author_name": "anasshnn",
      "author_url": "",
      "post_date": "07/27/2021 02:41:03",
      "content": "<p>oh thank you sir  i understanf now, it's more clear right now.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1401653,
      "author_name": "abhijeetptl5",
      "author_url": "",
      "post_date": "07/27/2021 13:19:19",
      "content": "<p>You can find clean dataset here <a href=\"https://www.kaggle.com/jonathanbesomi/rsna-miccai-png\" target=\"_blank\">https://www.kaggle.com/jonathanbesomi/rsna-miccai-png</a></p>",
      "votes": null,
      "replies": [
        {
          "id": 1402170,
          "author_name": "anasshnn",
          "author_url": "",
          "post_date": "07/27/2021 23:55:46",
          "content": "<p>thanks for sharing you saved me time ,  I was creating my own png data with datagen.</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1401100": "When i plot the image some of the images are realy close to black \nthis is the code for ploting the image.\ndid i do some thing wrong ?\n       ``dcm_img=pdc.dcmread(img)``\n       `` img_array=dcm_img.pixel_array``\n       `` #img_array = apply_voi_lut(img_array,dcm_img, index=0)``\n       `` resized_img = cv.resize(img_array,(500,500), interpolation = cv.INTER_AREA)``\n       `` plt.subplot(disp_rows,4,index+1)``\n       `` plt.imshow(resized_img,cmap=plt.cm.bone);plt.axis('off')``",
    "1401101": "A lot of the images are just air. There is no anatomy in them. It's normal.",
    "1401114": "oh thank you sir  i understanf now, it's more clear right now.",
    "1401653": "You can find clean dataset here https://www.kaggle.com/jonathanbesomi/rsna-miccai-png",
    "1402170": "thanks for sharing you saved me time ,  I was creating my own png data with datagen."
  },
  "source": "meta"
}