CS 194-26 Project 6A: Image Warping and Mosaicing

Jeffrey Wang (cs194-26-acl)

Overview

In this project, I created a mosaic by taking pictures of various scenes, and selecting corresponding points to define a homography matrix H, which I then used to transform the perspective of one image into another through rectification. The results are then blended in order to create a whole mosaic, and repeated with more images.


The images were taken with a Google Pixel, and digitized through Matlab.


A homography matrix was created using input points selected using a correspondences tool. The matrix was then used to warp the selected images into a rectified image. Results for the left and right images shown here:

Left Rectified
Right Rectified

The resultant images are then blended into one single mosaic. Currently I'm doing a "brute-force/naive" method, since I might not be able to implement alpha blending in time. But the results are relatively visualized here.

Left Blend
Right Blend
Combined

I wasn't able to get blending to work in time, but based off of the resulting rectified images, if alpha blending was correctly implemented the resulting mosaics should've looked fine. I spent a long time trying to figure out an issue with the warp, but it turned out it was because I wasn't converting my images to doubles, and getting bright results from that