[vtkusers] Question for relationship between ITK and VTK coordination system

Lodron, Gerald Gerald.Lodron at joanneum.at
Mon Jan 24 09:39:30 EST 2011


The readers/writers in vtk have the binary FileLowerLeftOn<http://www.vtk.org/doc/nightly/html/classvtkImageReader2.html#a3a959f0dbfb4ff4b0227317941d7ea19> () function. Set them to on...

________________________________
Von: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] Im Auftrag von Dženan Zukic
Gesendet: Montag, 24. Januar 2011 15:28
An: Wonsup LEE
Cc: vtkusers at vtk.org
Betreff: Re: [vtkusers] Question for relationship between ITK and VTK coordination system

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).

And by coordinates, I mean the ones received from calls to TransformIndexToPhysicalPoint, TransformPhysicalPointToContinuousIndex and companions.

To obtain vtkImage I am using ImageToVTKImageFilter. Any help on this?

Regards,
Dženan

On Fri, Jan 21, 2011 at 01:33, Wonsup LEE <mcury at postech.ac.kr<mailto:mcury at postech.ac.kr>> wrote:

Hello anyone,

I wonder how I can adjust ITK coordination to VTK coordination.
I got information from CT images and applied some algorithms to CT data
using ITK.
Using ITK functions, I could handle each pixels of the CT image (e.g., 512 x
512 pixel image).
And then I visualized the result using VTK. Also I visualized CT images
using VTK directly.
However, even I used same CT images, but the ITK result and VTK result were
different according to coordination.

So, what I'm asking is how I can transform ITK coordinate to VTK's one.
I tried to search this issues but I cannot find informative article.
Is there an mathematical relationship between ITK and VTK, or any function?
Please answer how to calculate or how to use functions for coordination.

Thank you very much.

Best regards,
LEE

--
View this message in context: http://vtk.1045678.n5.nabble.com/Question-for-relationship-between-ITK-and-VTK-coordination-system-tp3350578p3350578.html
Sent from the VTK - Users mailing list archive at Nabble.com.
_______________________________________________
Powered by www.kitware.com<http://www.kitware.com>

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110124/cf25b0fa/attachment.htm>


More information about the vtkusers mailing list