[Insight-users] Dicom Series Sorting - GDCM

Mathieu Malaterre mathieu.malaterre at kitware.com
Thu Apr 13 22:21:21 EDT 2006


> On Thu, 2006-04-13 at 15:48 -0500, Uday Kurkure wrote:
> > Hello all,
> > 
> > I need help in sorting Dicom series. 
> > 
> > Description:
> > In my application, user specifies the folder where dicom files are
> > stored. I am using gdcmIO library to read the series. I understand
> > that gdcm sorts the series according to:
> > 1. Image Position (Patient) (0020,0032)
> > 2. Image Number (0020,0013)
> > 3. File Name
> > 
> > In my dicom data header, image position key is blank, so I believe
> > that my series is being sort according to image number. 
> 
> That's a wierd DICOM file. I thought (0020,0032) is a type 1 tag. So its
> absence is a violation of the standard.

Not for all Modality. But anyway :
- What is your Modality ?
- Are you sure those are DICOM files, and not old ACR-NEMA, where Image Patient Position (RET) is in 0020,0030

Thanks
Mathieu




More information about the Insight-users mailing list