[Insight-users] Interpolation and centered pixel coordinates

Dženan Zukić dzenanz at gmail.com
Fri Jun 11 07:19:30 EDT 2010


Hi everyone,

I am running into some crashes in
\InsightToolkit-3.18.0\Code\Common\itkLinearInterpolateImageFunction.txx
(line 150), and I wonder could it be due to recent move to consistent use of
centered pixels (physical coordinates going from -spacing/2 to
(n-1)*spacing+spacing/2, instead of 0 to n*spacing). Did anyone have
encounters with similar problems? More specifically, does
TransformPhysicalPointToContinuousIndex in
\InsightToolkit-3.18.0\Code\Common\itkImageBase.h honor the centered pixel
coordinates?

Regards,
Dženan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100611/788a1018/attachment.htm>


More information about the Insight-users mailing list