[Insight-users] ITK to VTK Convertion Error

Luis Ibanez luis.ibanez at kitware.com
Sat May 21 14:08:24 EDT 2011


Hi Abayiz,


Can you describe the distortion ?

Maybe post a screenshot ?

Note that VTK images do not have
a explicit representation of Orientation,
so the information about the DICOM
direction matrix gets lost when you use
VTK for reading the DICOM images.

You may find better to use the ITK GDCM
reader in order to load the DICOM images.


     Luis


---------------------------
On Fri, May 20, 2011 at 10:03 AM, Abayiz <abayiz at yahoo.com> wrote:
> Hello all,
>
> I am using a vtk-based dicom loader to load dicom series, and then use ITK to perform registration. But I found that when I try to convert from VTK to ITK, it is not working correctly, i.e., the dicom file orders are distorted, not the same as before conversion.
>
> I doubt itkVTKImagetoImageFilter is not working quite well with dicom files, since the same files can be read quite well using only itk-based loader. Am I right? How can I work this out?
>
> Many thanks in advance!
>
> Abayiz
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>


More information about the Insight-users mailing list