Project 5

Part 1: Homography

I chose this picture of Jacobs hall because it has strong perspective lines and clear facades. Looking southwest from the corner of Ridge Road and Le Roy, we have a diagonal point of view.


I wanted to see what Jacobs would look like head on, so I took the four corners from its left facade and rectified the perspective. Now it looks like we are staring straight down ridge road, facing west. Note that Etcheverry looks smaller and further away.


For the image mosaic, I took two pictures of my parents' living room.


Taking 6 correspondance points, including the four corners of the TV, I warped the right image to the left image. This is what my first attempt looked like. Note that the overlapping portion is brighter because I simply added the two images pixel intensities.


To fix the brightness issue, I created a mask for the center of the image, and averaged its pixel intensities. There are still some edge artifacts, which can be fixed using a gradient mask.


I learned that it is important to consider the w coordinate when calculating homographies. This caused a bug in my program which took me a long time to fix :(

Course project for CS 194-26 Image Manipulation and Computational Photography.

By George Wang, April 2020.

Website template: HTML5 Templates