Shoot & Digitize PhotosHere are the original photos for my rectified images:
Recovering Homography: To recover the homography H, I needed a set of correspondence points between an image A and an image B. Using these, I could then define an equation Ah=B, and solve for the 8 variables in H using least squares.
Image Rectification: Here are the rectified images, achieved by computing the homography from the original images to a square (I estimated the points for a square), and warping the original image to its rectified equivalent using the homography recovered from the 4 correspondence points I selected from the original image and 4 points I used to define the vertices of a square to warp the image towards.
MosaicHere are my mosaic blended images:
Takeaways: From this project, I learned that linear algebra, specifically perspective transforms, applied to images can create some interesting effects, as well as how difficult it is to choose correspondence features by hand. Looking forward to figuring out how to automate this process to spare myself from subpar warps due to human error :(.