[Insight-users] about series write

Yixun Liu yxliu at fudan.edu.cn
Sat Dec 18 22:45:37 EST 2004


Hi,

The question is I do not want to save it along the Z direction(slice direction). The original slice is sagittal, but I want to save it axially.

Thank you!

----- Original Message ----- 
From: "Luis Ibanez" <luis.ibanez at kitware.com>
To: "Yixun Liu" <yxliu at fudan.edu.cn>
Cc: <insight-users at itk.org>
Sent: Sunday, December 19, 2004 11:24 AM
Subject: Re: [Insight-users] about series write


> 
> Hi Yixun,
> 
> Just combine the following two examples from the IO directory
> 
> 
>       Insight/Examples/IO/
> 
>          DicomSeriesReadImageWrite.cxx
> 
>          ImageReadImageSeriesWrite.cxx
> 
> The first example shows you how to read an image from a set
> of DICOM files. The second example shows how to save an image
> as a series of 2D slices, where you can select any image file
> format, such as PNG, TIFF, JPEG... etc.
> 
> Note that you must provide the base filename for the
> output slices as well as the filename extensiong.
> 
> If you want to get image in TIFF file format, then
> simply provide "tiff" as the extension.
> 
> 
> Please let us know if you have further questions,
> 
> 
>    Thanks
> 
> 
>        Luis
> 
> 
> -------------------------
> Yixun Liu wrote:
> 
> > Hi,
> >  
> > I have a DICOM  sagittal series and I want to write it to a series of 
> > TIFF file. Each tiff file is a corsscut instead of sagittal. Anybody 
> > tell me how to do it?
> >  
> >  
> > Thanks,
> >  
> > Yixun liu
> > 
> > 
> > ------------------------------------------------------------------------
> > 
> > _______________________________________________
> > Insight-users mailing list
> > Insight-users at itk.org
> > http://www.itk.org/mailman/listinfo/insight-users
> 
> 
> 
> 
> 


More information about the Insight-users mailing list