[ITK-users] reading 3D temporal MRA dicom: miss ordered
ebasafa
basafa at clearguidemedical.com
Mon May 23 20:54:40 EDT 2016
Does this mean that all slices have the same location information and you
want them to be ordered based on the time stamp? If so, I am afraid GDCM
might not be able to sort them properly. If all slices have the same
location (Image Position Patient) and orientation (Image Orientation
Patient), the sorting might fail. Take a look at how GDCM sorts DICOM slices
(https://itk.org/Doxygen/html/classitk_1_1GDCMSeriesFileNames.html):
"This class generates a sequence of files whose filenames point to a DICOM
file. The ordering is based on the following strategy: Read all images in
the directory (assuming there is only one study/series)
1) Extract Image Orientation & Image Position from DICOM images, and then
calculate the ordering based on the 3D coordinate of the slice.
2) If for some reason this information is not found or failed, another
strategy is used: the ordering is based on 'Image Number'.
3) If this strategy also failed, then the filenames are ordered by
lexicographical order."
HTH
Ehsan
--
View this message in context: http://itk-insight-users.2283740.n2.nabble.com/ITK-users-reading-3D-temporal-MRA-dicom-miss-ordered-tp7588890p7588892.html
Sent from the ITK Insight Users mailing list archive at Nabble.com.
More information about the Insight-users
mailing list