XE33PVR::Assignment 2

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) .

Grading

  1. Function computeH Least square solution for a homography from point correspondences.
    Grading: [3 points] Clarity, effectiveness of the code

  2. Function errorH Symmetric error on correspondences given a homography transformation H.
    Grading: [2 points] Clarity, effectiveness of the code
For the upload do not forget to include all codes.
[XE33PVR labs | Responsible: Ondrej Chum ]
Last modified 19 Oct 2008.