[Insight-users] mistake in the example code?
Grace Chen
Grace.Chen at swri.ca
Thu Dec 8 14:38:15 EST 2005
Hi there,
In the itk example codes, ImageRegistration5.cxx, the translation was set like this:
transform->SetTranslation( centerMoving - centerFixed );
where centerMoving is the center of the moving image and centerFixed is the center of the fixed image. Since translation maps moving image to the fixed image, shouldn't the translation of the transform be "centerFixed - centerMoving"?
Thanx!
Grace
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20051208/4a53fc47/attachment.html
More information about the Insight-users
mailing list