[Insight-users] about series write

Luis Ibanez luis.ibanez at kitware.com
Sat Dec 18 22:24:18 EST 2004


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