[Insight-users] Weird physical coordinates

Panagiotis Foteinos pafotein at gmail.com
Tue Oct 18 12:52:39 EDT 2011


Hello users.

I noticed that whenever the coordinates of a voxel center should be
zero, the value 2.26498e-07 is computed instead. For example, I have
an image of spacing [0.2, 0.2, 0.2], and iterating though it gives the
following result for the physical coordinates of 5 consecutive pixels:
******************************
[-0.4, -15.2, -5.2]
[-0.2, -15.2, -5.2]
[2.26498e-07, -15.2, -5.2]
[0.2, -15.2, -5.2]
[0.4, -15.2, -5.2]
******************************

The increment happens along the x-axis, and you can see the patern:
-0.4 -> -0.2 -> 2.26498e-07 -> 0.2 -> 0.4. Why 2.26498e-07 and not 0
as it is supposed to be?


Any comments?


Best Regards,
Panagiotis Foteinos


More information about the Insight-users mailing list