CS194 Project 6: Image Warping and Mosaicing Part A

Overview

In this project, we use homography to stitch pictures of the same scene into a panorama.

Image Rectification

For this part, I would pick 4 points in the picture and then manually define 4 rectangular points to create the homography matrix.

I rectified a picture of my dog to be bird's eye using the floor tiles.

I rectified a picture of a teahouse in Taiwan using the windows as my reference points

Blend Mosaic

First, I used least squares to find the homography matrix to transform points from one image to another. Then, I would apply the warp to all the points in the image. I then blended the two images using Laplacian pyramids.

Here is a mosaic of a temple in Kyoto.

Here is a mosaic of Sproul Hall.

Here is a mosaic of the view from Twin Peaks in San Francisco.

Summary

I learned how powerful homography can be, since it can take so little information to make a pretty smooth warp.