open-discussion > RE: nii to dicom conversion
Nov 29, 2016  03:11 AM | Allen Waggoner
RE: nii to dicom conversion
Originally posted by Tayyab Ateeq:
Originally posted by Allen Waggoner:
Originally posted by Tayyab Ateeq:
I opened file info. There is no label such as Image dimension in header section. In summary there is one. 
Image Dimensions (X, Y, Z): 512 x 512 x 150
Regards

Is this summary for the nifti file or the dicom file?  The nifti file must have a line for image dimensions.  The dicom header does not have an image dimensions tag.  Whichever file the summary is from, it says there are 150 slices.

This is the summary of NIFTI file and I have found out about image dimensions. It says Image Dimensions (1-8): 3, 512, 512, 150, 1, 1, 1, 1 which means I have 3 dimensions, 150 slices and each image is 512 x 512. I want to to extract all these 150 slices as separate dicom files. Thanks

Okay, I guess I misunderstood, I thought your nifti data was a time-series of a single slice and you wanted to convert it to a single dicom.  But if I understand what you wrote here correctly, it seems it is a 3D data set and you want to generate separate dicom files for each slice.  Is that correct?  Maybe Mango can do this, but I don't see an obvious way.  There is a Mango discussion forum on the Mango website, you might ask for help there.  But if I were going to do this, I would do it in Matlab.  To create dicom files in Matlab, you need the image processing toolbox.  Then you can just read in the nifti file and write the dicom files as you like.

Threaded View

TitleAuthorDate
Tayyab Ateeq Nov 25, 2016
Allen Waggoner Nov 25, 2016
Tayyab Ateeq Nov 25, 2016
Allen Waggoner Nov 28, 2016
Tayyab Ateeq Nov 28, 2016
Allen Waggoner Nov 28, 2016
Tayyab Ateeq Nov 28, 2016
RE: nii to dicom conversion
Allen Waggoner Nov 29, 2016
Tayyab Ateeq Nov 29, 2016
Allen Waggoner Nov 29, 2016
Tayyab Ateeq Dec 6, 2016