Dear community,<div><br></div><div>I registered a T1 MRI brain scan to the MNI152 template, for this task I use "itkCenteredTransformInitializer" and "itkVersorRigid3DTransform".</div><div>My images and the template have different direction: [1, -1 ,1] and [-1,-1,1]. </div><div>As the last step of registration process I use the resulting transform to map my image into the template space by using "itk::ResampleImageFilter". As spacing, origin, size and direction  of the output image I pass those of the template. </div><div>For example: (i.e. resampler->SetOutputDirection( fixedImage->GetDirection() )). </div><div>Finally I get back to the original space:</div><div>I pass the inverse rotation matrix (matrix.GetInverse()) and offset * (-1) into an itkAffineTransform.   </div><div>Is this procedure correct?</div><div>I have to pass the center of rotation? </div><div><br></div><div>Thank in advance for any help</div><div>Rosangela</div>