[ITK-dev] converting coordinate system

Matt McCormick matt.mccormick at kitware.com
Thu Aug 13 18:13:24 EDT 2015


Hello,

All computations in ITK are done in the world coordinate system, i.e.
the physical coordinates.  To convert an image coordinate, i.e. the
index coordinates, use the TransformIndexToPhysicalPoint [1] method on
itk::Image.  This takes into account image orientation and spacing.

HTH,
Matt

[1] http://www.itk.org/Doxygen/html/classitk_1_1ImageBase.html#ab003313ba1a078d89a832dc0a35d2efa

On Thu, Aug 13, 2015 at 2:47 AM, Marco Dev <marco.dev.open at gmail.com> wrote:
> Hi dears,
> I have some itk image filter for translating from image coordinate system to
> world coordinate system
> Means I want to convert Dicom image position and another tag information
> such as pixel spacing orientation to world coordinate for Itk coordinate
> these are difference in position
> How can do this convert
> Thanks in advance
>
> _______________________________________________
> 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://kitware.com/products/protraining.php
>
> 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://public.kitware.com/mailman/listinfo/insight-developers
>


More information about the Insight-developers mailing list