Hi everybody!
A simple question: is there a way to automatically obtain the rotation matrix,
starting from the affine transformation matrix of a coregistration?
With SPM5, I use the command
m= spm_get_space(ReferenceImage\SourceImage)
in order to get the transformation matrix of the coregistration between Ref.
and Source Image.
However, I'd like to extract from the affine matrix, only the rotation matrix.
How can I do?
Thanks you very much if anybody can help me.
Best regards,
Giulia
|