{
  "id": 432168,
  "title": "Orientation of dcm and nii files",
  "url": "/competitions/rsna-2023-abdominal-trauma-detection/discussion/432168",
  "author_name": "Ahmet Koray Sonal",
  "post_date": "2023-08-16T10:54:33.087000",
  "votes": 5,
  "comment_count": 4,
  "views": 0,
  "content": "<p>I am trying to adjust same orientation for segmentation images and train images. Nii uses lps but ı dont find about orientation of dcm images. I want to adjust same orientation both segmentation images and train images. How can ı do</p>",
  "messages": [
    {
      "id": 2393502,
      "postDate": "2023-08-16T10:54:33.087Z",
      "content": "<p>I am trying to adjust same orientation for segmentation images and train images. Nii uses lps but ı dont find about orientation of dcm images. I want to adjust same orientation both segmentation images and train images. How can ı do</p>",
      "rawMarkdown": "I am trying to adjust same orientation for segmentation images and train images. Nii uses lps but ı dont find about orientation of dcm images. I want to adjust same orientation both segmentation images and train images. How can ı do",
      "votes": 4
    },
    {
      "id": 2395162,
      "postDate": "2023-08-17T10:27:06.520Z",
      "content": "<p>Hi, you could have a look at this notebook which combined dcm and segmentation images, although I didn't check yet if it properly deals with cases of different orientation between dcm and nifti: <a href=\"https://www.kaggle.com/code/parhammostame/construct-3d-arrays-from-dcm-nii-3-view-angles\" target=\"_blank\">https://www.kaggle.com/code/parhammostame/construct-3d-arrays-from-dcm-nii-3-view-angles</a></p>",
      "rawMarkdown": "Hi, you could have a look at this notebook which combined dcm and segmentation images, although I didn't check yet if it properly deals with cases of different orientation between dcm and nifti: https://www.kaggle.com/code/parhammostame/construct-3d-arrays-from-dcm-nii-3-view-angles"
    },
    {
      "id": 2395167,
      "postDate": "2023-08-17T10:33:29.673Z",
      "content": "<p>You can find the orientation of DCM images in the file: \"train_dicom_tags.parquet\".<br>\nYou may find the 'ImageOrientationPatient' and 'ImagePositionPatient' columns useful.</p>",
      "rawMarkdown": "You can find the orientation of DCM images in the file: \"train_dicom_tags.parquet\".\nYou may find the 'ImageOrientationPatient' and 'ImagePositionPatient' columns useful.",
      "isDeleted": true,
      "replies": [
        {
          "id": 2430994,
          "postDate": "2023-09-09T17:53:01.023Z",
          "content": "<p>how to decode this columns? I am not sure what each number stands for and I could not find any guidence on that</p>",
          "rawMarkdown": "how to decode this columns? I am not sure what each number stands for and I could not find any guidence on that"
        },
        {
          "id": 2431003,
          "postDate": "2023-09-09T18:06:35.813Z",
          "content": "<p>And do you know why some of the orientations are not integers? Does that indicate a slight rotation? If so it seems quite insignificant in all cases</p>",
          "rawMarkdown": "And do you know why some of the orientations are not integers? Does that indicate a slight rotation? If so it seems quite insignificant in all cases"
        }
      ]
    }
  ],
  "comments": [
    {
      "id": 2395162,
      "author_name": "Michael Wolff",
      "author_url": "",
      "post_date": "2023-08-17T10:27:06.520000",
      "content": "<p>Hi, you could have a look at this notebook which combined dcm and segmentation images, although I didn't check yet if it properly deals with cases of different orientation between dcm and nifti: <a href=\"https://www.kaggle.com/code/parhammostame/construct-3d-arrays-from-dcm-nii-3-view-angles\" target=\"_blank\">https://www.kaggle.com/code/parhammostame/construct-3d-arrays-from-dcm-nii-3-view-angles</a></p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 2395167,
      "author_name": "",
      "author_url": "",
      "post_date": "2023-08-17T10:33:29.673000",
      "content": "<p>You can find the orientation of DCM images in the file: \"train_dicom_tags.parquet\".<br>\nYou may find the 'ImageOrientationPatient' and 'ImagePositionPatient' columns useful.</p>",
      "votes": 0,
      "replies": [
        {
          "id": 2430994,
          "author_name": "Gyula Maloveczky4",
          "author_url": "",
          "post_date": "2023-09-09T17:53:01.023000",
          "content": "<p>how to decode this columns? I am not sure what each number stands for and I could not find any guidence on that</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 2431003,
          "author_name": "Gyula Maloveczky4",
          "author_url": "",
          "post_date": "2023-09-09T18:06:35.813000",
          "content": "<p>And do you know why some of the orientations are not integers? Does that indicate a slight rotation? If so it seems quite insignificant in all cases</p>",
          "votes": 0,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "2393502": "I am trying to adjust same orientation for segmentation images and train images. Nii uses lps but ı dont find about orientation of dcm images. I want to adjust same orientation both segmentation images and train images. How can ı do",
    "2395162": "Hi, you could have a look at this notebook which combined dcm and segmentation images, although I didn't check yet if it properly deals with cases of different orientation between dcm and nifti: https://www.kaggle.com/code/parhammostame/construct-3d-arrays-from-dcm-nii-3-view-angles",
    "2395167": "You can find the orientation of DCM images in the file: \"train_dicom_tags.parquet\".\nYou may find the 'ImageOrientationPatient' and 'ImagePositionPatient' columns useful."
  }
}