I want to estimate an affine transform given matches between a transformed img and a reference img (which came from a reference stack).
Can I estimate a 3D affine transform given only the x,y coordinates of the transformed image and the x, y, z coordinates of the reference image (z being the slice from the reference stack that the reference img came from)?
The general formula for illustrating a transform is:
x' = M * x,
where x'
is the transformed point. M
is the transformation matrix, and x
is the original point. The transform matrix, M
, is estimated by multiplying x'
by inv(x)
.
The standard setup for estimating the 3D transformation matrix is this:
How can I estimate the transformation matrix if I don't have the z'
of the transformed image? Is there some other setup I can use?