Project 5: [Auto]Stitching Photo Mosaics

Justin Wang | cs194-26-aeh


Part 1: IMAGE WARPING and MOSAICING

For this checkpoint, we are required to implement the computeH and warpImage functions, and apply them in the context of rectifying an image.

To find the homography matrix in this application, I simply defined four corresponding point sets on the center of the tile for a well-defined solution, and used SVD (not necessary) to solve the linear system. The results on a teddy bear laid on tile is shown below:

Original
Rectified

Noticably, there is distortion near the edges of the image, where there isn't enough "information" to reconstruct (interpolation probably makes it worse). Furthermore, especially since the bear has features that we'd be looking for (ie. the eye that is hidden given the original angle), the rectified image looks slightly odd, as if the bear is balancing on its head.