[Insight-users] How to read a stack of DICOM images?

Jolinda Smith jolinda at darkwing . uoregon . edu
Thu, 15 May 2003 09:35:11 -0700


Hi Sven,

The easiest thing to do is write a metaimage header for your DICOM
series. You can do this using the MetaImageImporter example in the
applications package, or you can use my program MRIConvert
(http://lcni.uoregon.edu/~jolinda/MRIConvert). Then just read the file
with itk::ImageFileReader->SetFileName("MyMetaimage.mhd").

Jolinda Smith
Lewis Center for NeuroImaging
University of Oregon
jolinda@uoregon.edu

----- Original Message -----
From: "Sven Prevrhal" <sven.prevrhal@oarg.ucsf.edu>
To: <insight-users@public.kitware.com>
Sent: Wednesday, May 14, 2003 9:35 PM
Subject: [Insight-users] How to read a stack of DICOM images?


> Hi,
>
>
>
> I am getting lost with the itk::ImageFileReader->SetFilePrefix() and
> SetDimensions() methods! Does that work with DICOMImageIOx classes? I
guess
> the x-y dimensions should be taken from the DICOM header, and the
number of
> images should be somehow specified.
>
>
>
> Or do I have to read every slice separately and then merge them into a
3D
> object? How would I do that?
>
>
>
> Help mucho appreciated!
>
>
>
> sven
>
>
>
> email: sven.prevrhal@oarg.ucsf.edu
>
> http://www.oarg.ucsf.edu/~sprevrha
>
>
>
>