Use http://cmp.felk.cvut.cz/~wbsdemo/demo/ to obtain multiple correspondences
for the image pair.
Implement the following functions:
H = computeH(u1,u2)
% u1 is 3xn matrix, n >= 4, with columns (x1, y1, 1)'
% u2 is 3xn matrix, n >= 4, with columns (x2, y2, 1)'
% H is 3x3 homography matrix mapping points from u1 to u2
err = errorH(H,u1,u2)
.
computeH
Least square solution for a homography from point correspondences.errorH
Symmetric error on correspondences given a homography transformation H.