{
  "id": 340403,
  "title": "DICOM, detection resources 🫡",
  "url": "/competitions/rsna-2022-cervical-spine-fracture-detection/discussion/340403",
  "author_name": "queyrusi",
  "post_date": "2022-07-28T20:50:55.941000",
  "votes": 9,
  "comment_count": 1,
  "views": 0,
  "content": "<ul>\n<li>Be reminded that <code>.dcm</code> contains both header and image array information. A simple way to get the image array:<br>\n<code>import pydicom</code><br>\n<code>myFile = pydicom.dcmread(filepath)</code><br>\n<code>myImage = myFile.pixel_array</code><br>\nI'll try to put that in a notebook soon along many others, but honestly just checkout what's been done before: <a href=\"https://www.kaggle.com/code/gpreda/visualize-ct-dicom-data/notebook\" target=\"_blank\">https://www.kaggle.com/code/gpreda/visualize-ct-dicom-data/notebook</a></li>\n<li>Make sure to check out <a href=\"https://www.kaggle.com/competitions/rsna-miccai-brain-tumor-radiogenomic-classification/discussion/252838\" target=\"_blank\">useful notebooks</a> on the <a href=\"https://www.kaggle.com/competitions/rsna-intracranial-hemorrhage-detection\" target=\"_blank\">2019 RSNA Intracranial Hemorrhage Detection</a></li>\n</ul>\n<p>Good luck to the Kagglers!</p>",
  "messages": [
    {
      "id": 1875273,
      "postDate": "2022-07-28T20:50:55.943Z",
      "content": "<ul>\n<li>Be reminded that <code>.dcm</code> contains both header and image array information. A simple way to get the image array:<br>\n<code>import pydicom</code><br>\n<code>myFile = pydicom.dcmread(filepath)</code><br>\n<code>myImage = myFile.pixel_array</code><br>\nI'll try to put that in a notebook soon along many others, but honestly just checkout what's been done before: <a href=\"https://www.kaggle.com/code/gpreda/visualize-ct-dicom-data/notebook\" target=\"_blank\">https://www.kaggle.com/code/gpreda/visualize-ct-dicom-data/notebook</a></li>\n<li>Make sure to check out <a href=\"https://www.kaggle.com/competitions/rsna-miccai-brain-tumor-radiogenomic-classification/discussion/252838\" target=\"_blank\">useful notebooks</a> on the <a href=\"https://www.kaggle.com/competitions/rsna-intracranial-hemorrhage-detection\" target=\"_blank\">2019 RSNA Intracranial Hemorrhage Detection</a></li>\n</ul>\n<p>Good luck to the Kagglers!</p>",
      "rawMarkdown": "+ Be reminded that `.dcm` contains both header and image array information. A simple way to get the image array:\n`import pydicom`\n`myFile = pydicom.dcmread(filepath)`\n`myImage = myFile.pixel_array`\nI'll try to put that in a notebook soon along many others, but honestly just checkout what's been done before: https://www.kaggle.com/code/gpreda/visualize-ct-dicom-data/notebook\n+ Make sure to check out [useful notebooks](https://www.kaggle.com/competitions/rsna-miccai-brain-tumor-radiogenomic-classification/discussion/252838) on the [2019 RSNA Intracranial Hemorrhage Detection](https://www.kaggle.com/competitions/rsna-intracranial-hemorrhage-detection)\n\nGood luck to the Kagglers!",
      "votes": 9
    },
    {
      "id": 1876114,
      "postDate": "2022-07-29T15:31:34.407Z",
      "content": "<p>good job, thanks <a href=\"https://www.kaggle.com/queyrusi\" target=\"_blank\">@queyrusi</a> </p>",
      "rawMarkdown": "good job, thanks @queyrusi ",
      "votes": 1
    }
  ],
  "comments": [
    {
      "id": 1876114,
      "author_name": "Saber",
      "author_url": "",
      "post_date": "2022-07-29T15:31:34.407000",
      "content": "<p>good job, thanks <a href=\"https://www.kaggle.com/queyrusi\" target=\"_blank\">@queyrusi</a> </p>",
      "votes": 1,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1875273": "+ Be reminded that `.dcm` contains both header and image array information. A simple way to get the image array:\n`import pydicom`\n`myFile = pydicom.dcmread(filepath)`\n`myImage = myFile.pixel_array`\nI'll try to put that in a notebook soon along many others, but honestly just checkout what's been done before: https://www.kaggle.com/code/gpreda/visualize-ct-dicom-data/notebook\n+ Make sure to check out [useful notebooks](https://www.kaggle.com/competitions/rsna-miccai-brain-tumor-radiogenomic-classification/discussion/252838) on the [2019 RSNA Intracranial Hemorrhage Detection](https://www.kaggle.com/competitions/rsna-intracranial-hemorrhage-detection)\n\nGood luck to the Kagglers!",
    "1876114": "good job, thanks @queyrusi "
  }
}