[Insight-users] Problem with position of dicom image !!

Sergio Vera sergio.vera at alma3d.com
Wed Apr 7 08:51:41 EDT 2010


Hello Circass

ITK and VTK have different coordinate systems, specifically the y-coordinate
is reversed.

Either in the ITK or the VTK side of the code you have to flip the images
along the y axis. Use vtkImageFlip class for instance

Hope it helps

Regards

On Wed, Apr 7, 2010 at 12:59 PM, circass <circass at gmail.com> wrote:

>
> Hi my friends,
> i am reading dicom files with itk image reader(gdcm). and then converting
> them to vtk and visualizing them with vtkimageviewer2.
> My problem is ;
> images are reversed. I dont understand the problem. Is there something that
> i have to do before i convert it to vtkimage ? or before to send
> imageviewer2 ? and if there is something i have to do, what is that ?
>
> Thank you
> Circass
> --
> View this message in context:
> http://old.nabble.com/Problem-with-position-of-dicom-image-%21%21-tp28163343p28163343.html
> Sent from the ITK - Users mailing list archive at Nabble.com.
>
> _____________________________________
> 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
>



-- 
Sergio Vera

Alma IT Systems
C/ Vilana, 4B, 4º 1ª
08022 Barcelona
T. (+34) 932 380 592
www.alma3d.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100407/a79c28a7/attachment.htm>


More information about the Insight-users mailing list