Image Warping and Mosaicing

Spencer Hamilton, CS 194, Fall 2021

In this project, I am warping an image with respect to another in order to create a larger mosaic.

Shoot Pictures

I took photos for stitching around Berkeley with my phone. In order to keep the exposure and focus as consistent as possible I used the AE / AF lock feature.

Recover Homographies

I chose ten shared points on the pairs of images in order to have enough data to recover the homography matrix H. I did this from what I learned from this website (equation shown below).

Rectifying Images

I applied the homography matrix to one of the pairs of images to rectify them.

Mosaicing

By adding the two images, I was able to begin understanding what it would mean to combine the images. I do not think my H approximation was good enough to properly align the images and I did not have enough time for blending.

What I Learned

I learned how to approximate a homography matrix to warp images into alignment with other images. I also learned that Numpy is not the best program to use for image manipulation on my laptop because it caused it to overheat.