Affine registration in itk

registration
#1

Hello. I want to experiment with affine registration in ITK. In the itk::AffineTransform< TParametersValueType, NDimensions > Class Template, it is possible to specify the rotation center (which, by default, is the origin of the image). If we want to register two images using affine registration (whose sizes may be different) and make their centers coincide in space, to which image’s center should the transformation should be set? Fixed image’s or the moving image’s center?

Thank you in advace

(Ziv Yaniv) #2

Hello @c.spanakis83,

Set it using the fixed image center.

Highly recommend reading the ITK book chapter on registration and specifically the section on centered transforms.