iat_get_affine

H = iat_get_affine( POINTS1, POINTS2 )

iat_get_affine computes the affine transform H of size 3×3 so that POINTS2 = H*POINTS1 in the least-square sense

Input arguments

POINTS1 2xN or 3xN array of N initial points
POINTS2 2xN or 3xN array of N transformed points

Output arguments

H The optimum, in the least-squares sense, affine transform obtained from correspondences POINTS1<–>POINTS2

 

Back to Index