[ITK-users] Error encountered when padding: boundary condition is ITK_NULLPTR
Matt McCormick
matt.mccormick at kitware.com
Tue Aug 29 10:14:33 EDT 2017
Hi Marie,
The relationship between pixel / index coordinates and physical space
is described in the ITK Software Guide:
https://itk.org/ITKSoftwareGuide/html/Book1/ITKSoftwareGuide-Book1ch4.html#x38-470004.1
There are methods on itk::Image to go between the two,
TransformIndexToPhysicalPoint and TransformPhysicalPointToIndex,
https://itk.org/Doxygen/html/classitk_1_1ImageBase.html#ab003313ba1a078d89a832dc0a35d2efa
https://itk.org/Doxygen/html/classitk_1_1ImageBase.html#af4a7c9c3787e9fdafbaaade2e02efa25
Hope this helps,
Matt
On Tue, Aug 29, 2017 at 8:41 AM, avazuila <mbrunet at insa-rennes.fr> wrote:
> Hi Matt,
>
> getBounds() returns physical coordinates. Do you know how I could get the
> index coordinates? I am having a hard time managing to understand what
> indexes are for and I can't see a getIndex() method in my code (I'm not the
> author of these methods).
>
> Thanks and regards,
>
> Marie
>
>
>
> --
> View this message in context: http://itk-users.7.n7.nabble.com/Error-encountered-when-padding-boundary-condition-is-ITK-NULLPTR-tp38654p38656.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.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-users
More information about the Insight-users
mailing list