CS 194-26 Project 5: Image Warping and Mosaicing

Eric Li

Overview

The goal of this project is to use homographies in order to create rectified images. The idea here is to use linear transformations to generate warps that tkae an image from an unalighned state to an aligned state.

Shooting the Pictures

Here are the images that I plan on warping.

Image Rectification

After coding up the warp calculator using a set of points and least squares to determine the most suitable homography, I was able to use the math to straighten images.

Panorama Generation

For this part I warp both images to the same plane and use a Laplacian pyramid to blend the images.

The individual warped images and their combination aligned with SSD are as follows.

Stitching the two parts of the parts of the image also using SSD values yields the following.

Running the same procedure on another set of images.

What I Learned

In this project I learned that linear transformations are able to transform pictures taken from different angles from the same location into all sorts of different angles and scalings to make them fit on a certain surface. Linear algebra yields important tools that allows us to cast objects to affine shapes while preserving the relative position of the object with the environment around them.