Part A
Image Rectification
The following images had regular grids and were used to practice rectification. Using 4 input points, a least squares approach was used to solve the homography, dividing out the 9th term to be standardized as 1. Here, arbitrary square-like positions (100x100) were chosen as the reference world space coordinates, and values were interpolated with RectBivariateSpline.
Image Mosaics
Instead of using arbitrary grids, now the target world space points are the corresponding matching values in the second image. Beyond that, the same techniques from part 1 were used here. Errors exist since the 4-correspondence is not exact, and due to being sequestered indoors, errors will propagate due to camera movement. Nevertheless, relatively decent results were achieved.