cv.getAffineTransform - MATLAB File Help |
Calculates an affine transform from three pairs of corresponding points
T = cv.getAffineTransform(src, dst)
{[x,y], [x,y], [x,y]}
src
.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