MATLAB: Imregister function and affine transformation

affineImage Processing Toolboximregister

I need to see the transformation matrix (affine transformation)which is used during multimodal registration.
thanks

Best Answer

As of R2013a, users who want access to the geometric transformation estimate computed by imregister can call the function imregtform. The function imregtform returns a geometric transformation object that can be applied to the moving image using the new function imwarp.
The function imregister calls imregtform to obtain the geometric transformation that registers the moving image to the fixed image and then calls imwarp to produce the returned output image.