[vtkusers] Ref:vtkDICOMImageReader.

Mathieu Malaterre mathieu.malaterre at kitware.com
Tue Feb 6 17:58:14 EST 2007


Kent Williams wrote:
> The Insight library (http://www.itk.org) has a more comprehensive DICOM 
> reader.  Of course you may not want to have to build ITK for your app, 
> so you could also use the GDCM library, upon which the ITK Dicom reader 
> is based.
> 
> http://www.creatis.insa-lyon.fr/Public/Gdcm/Main.html
> 
> You'd still have to copy out (and possibly rearrange) pixel data to use 
> it with VTK, though given how GDCM handles buffer allocation, you could 
> allocate your vtkImageData object, get the buffer pointer and pass it 
> into GDCM before reading the file, and save a redundant copy.

Or -maybe- simply use the vtkGDCMReader that comes with the library ;-P

Quote:
http://www.creatis.insa-lyon.fr/Public/Gdcm/Main.html
...
gdcm comes with a VTK  shallow wrapper class vtkGdcmReader (refer to 
VtkGdcm) to ease the burden of VTK users,
...

-M



More information about the vtkusers mailing list