CS 194-26: Project 6

[Auto]Stitching Photo Mosaics (Part 1)

Karuna Wadhera, CS194-26-abo

This project was very enjoyable because relatively simple code achieved perspective shifts and image stitching that I would have thought required much more elaborate techniques.

When calculation the homography matrix I learned of yet another application of least squares.

It was really wonderful to see how easily you can view an image from an alternate perspective without any additional information.

This project really honed my debugging skills -- I spent hours tracking down what I believe ended up being x and y swaps when computing my inverse transform. Indices are hard -- really hard!

When blending the images together, I was suprised by how well just choosing the maximum element-wise values did to blend (which someone recommended on Piazza). I first tried alpha blending but just choosing the max honestly looked even better!

Rectification


Original
Rectification
Original
Rectification

Mosaic Stitching


Left
Right
Warped Right
Stitched
Top
Bottom
Warped Bottom
Stitched
Top
Bottom
Warped Bottom
Stitched