MATLAB File Help: cv.getAffineTransform Index
cv.getAffineTransform

Calculates an affine transform from three pairs of the corresponding points

T = cv.getAffineTransform(src, dst)

Input

Output

The function calculates the 2x3 matrix of an affine transform so that:

 [X_i; X_i] = T * [x_i; y_i; 1]

where

 dst(i,:) = [X_i, Y_i], src(i,:) = [x_i, y_i]  for i=1,2,3
See also