[Insight-users] use of itk::ImageSeriesReader to view slices from DICOM volume

Luis Ibanez luis.ibanez at kitware.com
Sat Aug 18 15:10:35 EDT 2007


Hi Mark,


   Yes, you are using the right tool.


You may want to look at the example:

     DicomSeriesReadImageWrite2.cxx

and combine it with the example:

InsightApplications/Auxiliary/vtk
            itkReadITKImageShowVTK.cxx


Note that the example above reads all the slices
and build a volume with them. You can them convert
this image to a vkImageData and use the
vtkImageViewer class, as shown in the second example.



    Regards,


      Luis



---------------------
Mark Alexiuk wrote:
> Hi,
> 
> I'm wondering if I am using the right tool for the job. 
> Can itk::ImageSeriesReader be used to iterate over the files in a DICOM 
> series, displaying each slice (through vtk rendering) using an index 
> based on: FileNamesContainer[index] ?
> 
> Thanks for your help,
> Mark
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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