[Insight-users] Dicomdir in gdcm-itk

Mathieu Malaterre mathieu.malaterre at gmail.com
Thu Jul 9 09:58:10 EDT 2009


On Thu, Jul 9, 2009 at 3:39 PM, Navneeth
Subramanian<navneeth.s at gmail.com> wrote:
> Hi mathieu,
>           I have been trying to read a dicomdir based dicom archive using
> the gdcm dicom reader packaged with ITK (3.8.0). But the reader only reads
> the files in one of the multiple directories....so i am always short of the
> correct number of slices.
>
> Eventually I found out "dicomdir" series are spread out in separate
> directories and gdcm 2.0 handles this correctly.
>
> What is the correct way to load a dicomdir based dicom archive and import
> into ITK ?
> Can you point me to an example/ test that I can build on.

There are none.
You cannot produce multiple images out of a single image file reader AFAIK.

Simply use gdcm 2.x API to read the DICOMDIR, then pass only the
Filenames you want to the ITK reader.

2cts
-- 
Mathieu


More information about the Insight-users mailing list