[Insight-users] Re: reading and writingdicom images

Luis Ibanez luis.ibanez at kitware.com
Mon Oct 24 22:53:21 EDT 2005


Hi Ilker,

Examples on how to read and write DICOM images are described
in detail in the ITK Software Guide

     http://www.itk.org/ItkSoftwareGuide.pdf

The corresponding source code can be found in

        Insight/Examples/IO


If you plan to read a single DICOM slice, you can simple
use the itk::ImageFileReader<> as illustrated in the ITK
Software Guide. For a single slice you don't need to use
the SeriesReader.

You must read the ITK Software Guide chapter on

     "Readig and Writing Images"


   Regards,


      Luis


----------------------------
ilker hacıhaliloğlu wrote:
> hi again
> 
> I want to ask a basci question. i have a file loaded with dicom image 
> series( starting from image0 ....to image29)
>  i want to do segmentation on the 2d slice of image14.
> for  reading and writing the image . do i need to use
> DicomSeriesReadImageWrite2.cxx or DicomImageReadWrite.cxx?
> 
> regads
> ilker
> 
> 
> 
> 
> 



More information about the Insight-users mailing list