I first select eight points that correspond with each other on each set of images.
Once I have the points, I can create a system of linear equations that is overdetermined and find the homography matrix with least squares.
Once I have the homography matrix and the points of the source image, I can transform the points onto the target image using
To test image warping, I can rectify a few images
I first warp the images using the homographies recovered in the earlier parts. Then, I use a mask to conduct linear alpha blending between the images.
The coolest thing I learned from this part was how to compute homographies in order to transform points from one image to another!