{
  "id": 509130,
  "title": "What do the instance_number refer to?",
  "url": "/competitions/rsna-2024-lumbar-spine-degenerative-classification/discussion/509130",
  "author_name": "",
  "post_date": "2024-06-01T10:26:08.425412600Z",
  "votes": 1,
  "comment_count": 2,
  "views": 0,
  "content": "<p>Forgive my idiotic question.😶‍🌫️</p>",
  "messages": [
    {
      "id": "2849006",
      "postDate": "06/01/2024 10:26:08",
      "content": "<p>Forgive my idiotic question.😶‍🌫️</p>",
      "rawMarkdown": "Forgive my idiotic question.😶‍🌫️",
      "votes": null
    },
    {
      "id": "2849254",
      "postDate": "06/01/2024 13:33:45",
      "content": "<p>For each DICOM file, there is associated meta data. There is an attribute called \"Instance Number\" [Tag (0020,0013)] that is an integer. You can read a DICOM file using PyDICOM package and get its Instance Number attribute like this:</p>\n<pre><code> pydicom\n\ndcm_path = \ndcm = pydicom.dcmread(dcm_path)\n(dcm.InstanceNumber)\n</code></pre>",
      "rawMarkdown": "For each DICOM file, there is associated meta data. There is an attribute called \"Instance Number\" [Tag (0020,0013)] that is an integer. You can read a DICOM file using PyDICOM package and get its Instance Number attribute like this:\n```python\nimport pydicom\n\ndcm_path = \"<path/to/a/dicom/file>\"\ndcm = pydicom.dcmread(dcm_path)\nprint(dcm.InstanceNumber)\n```",
      "votes": null
    },
    {
      "id": "2849282",
      "postDate": "06/01/2024 13:56:49",
      "content": "<p>Has anyone managed to make use of the instance numbers and x/y coordinates? It seems the coordinates are only present in the data for a single slice (the one where the radiologists \"see\" the spine condition), not the entire series. I feel like doing any image segmentation is kinda tough in this situation.</p>",
      "rawMarkdown": "Has anyone managed to make use of the instance numbers and x/y coordinates? It seems the coordinates are only present in the data for a single slice (the one where the radiologists \"see\" the spine condition), not the entire series. I feel like doing any image segmentation is kinda tough in this situation.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 2849254,
      "author_name": "coderrkj",
      "author_url": "",
      "post_date": "06/01/2024 13:33:45",
      "content": "<p>For each DICOM file, there is associated meta data. There is an attribute called \"Instance Number\" [Tag (0020,0013)] that is an integer. You can read a DICOM file using PyDICOM package and get its Instance Number attribute like this:</p>\n<pre><code> pydicom\n\ndcm_path = \ndcm = pydicom.dcmread(dcm_path)\n(dcm.InstanceNumber)\n</code></pre>",
      "votes": null,
      "replies": []
    },
    {
      "id": 2849282,
      "author_name": "johnbergmann",
      "author_url": "",
      "post_date": "06/01/2024 13:56:49",
      "content": "<p>Has anyone managed to make use of the instance numbers and x/y coordinates? It seems the coordinates are only present in the data for a single slice (the one where the radiologists \"see\" the spine condition), not the entire series. I feel like doing any image segmentation is kinda tough in this situation.</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "2849006": "Forgive my idiotic question.😶‍🌫️",
    "2849254": "For each DICOM file, there is associated meta data. There is an attribute called \"Instance Number\" [Tag (0020,0013)] that is an integer. You can read a DICOM file using PyDICOM package and get its Instance Number attribute like this:\n```python\nimport pydicom\n\ndcm_path = \"<path/to/a/dicom/file>\"\ndcm = pydicom.dcmread(dcm_path)\nprint(dcm.InstanceNumber)\n```",
    "2849282": "Has anyone managed to make use of the instance numbers and x/y coordinates? It seems the coordinates are only present in the data for a single slice (the one where the radiologists \"see\" the spine condition), not the entire series. I feel like doing any image segmentation is kinda tough in this situation."
  },
  "source": "meta"
}