[vtkusers] vtkGDCMImageReader
Mark Roden
mmroden at gmail.com
Wed Dec 8 23:32:23 EST 2010
Hi Rao,
You might want to try the vtkGDCMImageReader class. This class is
part of the gdcm project.
You'll need to download GDCM from sourceforge, and then build it using
cmake with the option to use vtk checked. I don't know your level of
using vtk, but I'd assume it's on the level of code, which would mean
building via cmake. gdcm on top of vtk is fairly straightforward,
although you will need to use the IPP sorter class to sort your images
by z position.
This wiki entry should help:
http://sourceforge.net/apps/mediawiki/gdcm/index.php?title=Using_GDCM_API#Automatic_ordering_of_slices_for_vtkGDCMImageReader.SetFileNames
Good luck!
Mark
More information about the vtkusers
mailing list