[Insight-users] how to construct affine registration matrix from registration
pinpress
sb_ji at yahoo.com
Tue Oct 28 10:16:11 EDT 2008
Thank both for the help.
I have found out that the affine transformation matrix was indeed
constructed by reshaping the 12 values into a 3-by-4 matrix in column major,
i.e.,
1 4 7 10
2 5 8 11
3 6 9 12
and the last row is [0 0 0 1]. However, it specifies the transformation from
the fixed to the moving image!! This is important, not the other way around.
In addition to make the transformation work correctly, one must also notice
the "center" returned from the program (because we used Centered
Transformation). We must de-mean the center first before applying the affine
transformation and then add the mean (i.e, center component) after the
transformation.
--
View this message in context: http://www.nabble.com/how-to-construct-affine-registration-matrix-from-registration-tp20199253p20208052.html
Sent from the ITK - Users mailing list archive at Nabble.com.
More information about the Insight-users
mailing list