iat_get_similarity

H = iat_get_similarity( POINTS1, POINTS2 )

iat_get_similarity computes the similarity 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, similarity transform obtained from correspondences POINTS1<->POINTS2

 

Back to Index