[vtkusers] DCMTK and VTK

Jean-Pierre Roux Jean-Pierre.Roux at creatis.insa-lyon.fr
Tue May 15 11:03:06 EDT 2007


> Hi everyone,
>
> Does anyone has any examples of reading in a DICOM volume into VTK using
> DCMTK?

If your files are not too much 'exotic' (i.e. not compressed, without any
oddity in their header, ...) you can use the vtkDICOMImageReader class.

If they are, better you user gdcm, that comes with a vtkGdcmImageReader class

http://www.creatis.univ-lyon1.fr/Public/Gdcm/

HTH.
Jean-Pierre Roux

>
> So, I have a list of DICOM files that comprises a volume and I want to
> create a vtkImageData out of it. Does anyone know what is the best way to
> achieve that? A C++ code snippet would be really nice!
>
> Thanks,
> Luca
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>




More information about the vtkusers mailing list