Hello Circass<br><br>ITK and VTK have different coordinate systems, specifically the y-coordinate is reversed.<br><br>Either in the ITK or the VTK side of the code you have to flip the images along the y axis. Use <font size="2"><span style="font-family: arial,helvetica,sans-serif; color: black;">vtkImageFlip</span><span style="font-family: arial,helvetica,sans-serif;"> </span></font>class for instance<br>
<br>Hope it helps<br><br>Regards<br><br><div class="gmail_quote">On Wed, Apr 7, 2010 at 12:59 PM, circass <span dir="ltr">&lt;<a href="mailto:circass@gmail.com">circass@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Hi my friends,<br>
i am reading dicom files with itk image reader(gdcm). and then converting<br>
them to vtk and visualizing them with vtkimageviewer2.<br>
My problem is ;<br>
images are reversed. I dont understand the problem. Is there something that<br>
i have to do before i convert it to vtkimage ? or before to send<br>
imageviewer2 ? and if there is something i have to do, what is that ?<br>
<br>
Thank you<br>
Circass<br>
--<br>
View this message in context: <a href="http://old.nabble.com/Problem-with-position-of-dicom-image-%21%21-tp28163343p28163343.html" target="_blank">http://old.nabble.com/Problem-with-position-of-dicom-image-%21%21-tp28163343p28163343.html</a><br>

Sent from the ITK - Users mailing list archive at Nabble.com.<br>
<br>
_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Sergio Vera<br><br> Alma IT Systems<br> C/ Vilana, 4B, 4º 1ª<br> 08022 Barcelona<br> T. (+34) 932 380 592<br> <a href="http://www.alma3d.com">www.alma3d.com</a><br>