{
  "id": 109552,
  "title": "Reconstructing 3d scan",
  "url": "/competitions/rsna-intracranial-hemorrhage-detection/discussion/109552",
  "author_name": "xhlulu",
  "post_date": "2019-09-20T05:46:01.257000",
  "votes": 4,
  "comment_count": 4,
  "views": 0,
  "content": "<p>I'm new to medical imaging, so sorry if this is a stupid question: can anyone say how to reconstruct the 3d structure of the CT scans? I.e. grouping all the dicoms and recombine them into a 514x514xS array, where S is the number of slices in the scan? Or is that impossible for this problem?</p>\n\n<p>Thanks!</p>",
  "messages": [
    {
      "id": 631316,
      "postDate": "2019-09-21T19:48:59.203Z",
      "content": "<p>You definitely can ! I reconstructed some ! \nFirst, you have to regroup together the slices with the same PatientID, then to sort them using ImagePositionPatient[2].\nSome examples using 3Dslicer (a free software) to visualize them:\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F609324%2F7f7eeff905250e42a7417d95ed9baa9f%2Fimage.png?generation=1569095398908748&amp;alt=media\" alt=\"\"></p>\n\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F609324%2F28bdd11a93d7de666b277c853837a347%2Fimage(1\" alt=\"\">.png?generation=1569095469630689&amp;alt=media)</p>\n\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F609324%2Fc1de42af52bdbc9a181f228ae21dd9a8%2Fimage(2\" alt=\"\">.png?generation=1569095485716864&amp;alt=media)</p>",
      "rawMarkdown": "You definitely can ! I reconstructed some ! \nFirst, you have to regroup together the slices with the same PatientID, then to sort them using ImagePositionPatient[2].\nSome examples using 3Dslicer (a free software) to visualize them:\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F609324%2F7f7eeff905250e42a7417d95ed9baa9f%2Fimage.png?generation=1569095398908748&amp;alt=media)\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F609324%2F28bdd11a93d7de666b277c853837a347%2Fimage(1).png?generation=1569095469630689&amp;alt=media)\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F609324%2Fc1de42af52bdbc9a181f228ae21dd9a8%2Fimage(2).png?generation=1569095485716864&amp;alt=media)\n",
      "votes": 7
    },
    {
      "id": 630353,
      "postDate": "2019-09-20T05:46:01.257Z",
      "content": "<p>I'm new to medical imaging, so sorry if this is a stupid question: can anyone say how to reconstruct the 3d structure of the CT scans? I.e. grouping all the dicoms and recombine them into a 514x514xS array, where S is the number of slices in the scan? Or is that impossible for this problem?</p>\n\n<p>Thanks!</p>",
      "rawMarkdown": "I'm new to medical imaging, so sorry if this is a stupid question: can anyone say how to reconstruct the 3d structure of the CT scans? I.e. grouping all the dicoms and recombine them into a 514x514xS array, where S is the number of slices in the scan? Or is that impossible for this problem?\n\nThanks!",
      "votes": 4
    },
    {
      "id": 630398,
      "postDate": "2019-09-20T07:12:24.617Z",
      "content": "<p>this is possible but i'm not really sure if it's fine with this competition rule or not</p>",
      "rawMarkdown": "this is possible but i'm not really sure if it's fine with this competition rule or not",
      "votes": 2
    },
    {
      "id": 1749148,
      "postDate": "2022-04-08T08:56:30.167Z",
      "content": "<p>If you ever read this,  after regrouping slices with the same PatientID, better to sort them using SOPInstanceUID rather than position</p>",
      "rawMarkdown": "If you ever read this,  after regrouping slices with the same PatientID, better to sort them using SOPInstanceUID rather than position"
    },
    {
      "id": 630469,
      "postDate": "2019-09-20T08:50:01.383Z",
      "content": "<p>You can probably use dicom metadata to group images by series ID and then reconstruct the scan. I'm trying it rn, but takes a long times to loop through all files.</p>",
      "rawMarkdown": "You can probably use dicom metadata to group images by series ID and then reconstruct the scan. I'm trying it rn, but takes a long times to loop through all files."
    }
  ],
  "comments": [
    {
      "id": 631316,
      "author_name": "Al-Khwârizmî",
      "author_url": "",
      "post_date": "2019-09-21T19:48:59.203000",
      "content": "<p>You definitely can ! I reconstructed some ! \nFirst, you have to regroup together the slices with the same PatientID, then to sort them using ImagePositionPatient[2].\nSome examples using 3Dslicer (a free software) to visualize them:\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F609324%2F7f7eeff905250e42a7417d95ed9baa9f%2Fimage.png?generation=1569095398908748&amp;alt=media\" alt=\"\"></p>\n\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F609324%2F28bdd11a93d7de666b277c853837a347%2Fimage(1\" alt=\"\">.png?generation=1569095469630689&amp;alt=media)</p>\n\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F609324%2Fc1de42af52bdbc9a181f228ae21dd9a8%2Fimage(2\" alt=\"\">.png?generation=1569095485716864&amp;alt=media)</p>",
      "votes": 7,
      "replies": []
    },
    {
      "id": 630398,
      "author_name": "DatNT",
      "author_url": "",
      "post_date": "2019-09-20T07:12:24.617000",
      "content": "<p>this is possible but i'm not really sure if it's fine with this competition rule or not</p>",
      "votes": 2,
      "replies": []
    },
    {
      "id": 1749148,
      "author_name": "Alexey Kostanov",
      "author_url": "",
      "post_date": "2022-04-08T08:56:30.167000",
      "content": "<p>If you ever read this,  after regrouping slices with the same PatientID, better to sort them using SOPInstanceUID rather than position</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 630469,
      "author_name": "Robin Schwob",
      "author_url": "",
      "post_date": "2019-09-20T08:50:01.383000",
      "content": "<p>You can probably use dicom metadata to group images by series ID and then reconstruct the scan. I'm trying it rn, but takes a long times to loop through all files.</p>",
      "votes": 0,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "631316": "You definitely can ! I reconstructed some ! \nFirst, you have to regroup together the slices with the same PatientID, then to sort them using ImagePositionPatient[2].\nSome examples using 3Dslicer (a free software) to visualize them:\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F609324%2F7f7eeff905250e42a7417d95ed9baa9f%2Fimage.png?generation=1569095398908748&amp;alt=media)\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F609324%2F28bdd11a93d7de666b277c853837a347%2Fimage(1).png?generation=1569095469630689&amp;alt=media)\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F609324%2Fc1de42af52bdbc9a181f228ae21dd9a8%2Fimage(2).png?generation=1569095485716864&amp;alt=media)\n",
    "630353": "I'm new to medical imaging, so sorry if this is a stupid question: can anyone say how to reconstruct the 3d structure of the CT scans? I.e. grouping all the dicoms and recombine them into a 514x514xS array, where S is the number of slices in the scan? Or is that impossible for this problem?\n\nThanks!",
    "630398": "this is possible but i'm not really sure if it's fine with this competition rule or not",
    "1749148": "If you ever read this,  after regrouping slices with the same PatientID, better to sort them using SOPInstanceUID rather than position",
    "630469": "You can probably use dicom metadata to group images by series ID and then reconstruct the scan. I'm trying it rn, but takes a long times to loop through all files."
  }
}