The program uses sift as basic feature matching method, and uses two methods for calculating the correct R and T to move puzzle.
Calculate the homography matrix, and decompose it.
Calculate the R and T through RANSAC, and optimize it by nonlinear LSE to calculate an accurate result.