I am facing the same problem. If the settings during configuration of ITK in CMake is are left at default, the coordinates differ a lot. If ITK_IMAGE_BEHAVES_AS_ORIENTED_IMAGE is set to false, then coordinates match (but then the patient orientation is lost).<div>

<br></div><div>And by coordinates, I mean the ones received from calls to TransformIndexToPhysicalPoint, TransformPhysicalPointToContinuousIndex and companions.<br><br></div><div>To obtain vtkImage I am using ImageToVTKImageFilter. Any help on this?</div>

<div><br></div><div>Regards,</div><div>Dženan</div><div><br><div class="gmail_quote">On Fri, Jan 21, 2011 at 01:33, Wonsup LEE <span dir="ltr">&lt;<a href="mailto:mcury@postech.ac.kr">mcury@postech.ac.kr</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
Hello anyone,<br>
<br>
I wonder how I can adjust ITK coordination to VTK coordination.<br>
I got information from CT images and applied some algorithms to CT data<br>
using ITK.<br>
Using ITK functions, I could handle each pixels of the CT image (e.g., 512 x<br>
512 pixel image).<br>
And then I visualized the result using VTK. Also I visualized CT images<br>
using VTK directly.<br>
However, even I used same CT images, but the ITK result and VTK result were<br>
different according to coordination.<br>
<br>
So, what I&#39;m asking is how I can transform ITK coordinate to VTK&#39;s one.<br>
I tried to search this issues but I cannot find informative article.<br>
Is there an mathematical relationship between ITK and VTK, or any function?<br>
Please answer how to calculate or how to use functions for coordination.<br>
<br>
Thank you very much.<br>
<br>
Best regards,<br>
LEE<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Question-for-relationship-between-ITK-and-VTK-coordination-system-tp3350578p3350578.html" target="_blank">http://vtk.1045678.n5.nabble.com/Question-for-relationship-between-ITK-and-VTK-coordination-system-tp3350578p3350578.html</a><br>


Sent from the VTK - Users mailing list archive at Nabble.com.<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 <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br></div>