CS 194:-26 Image Manipulation and Computational Photography, Fall 2018

Project 6: Image Warping and Mosaicing

Riku Miyao, CS194-26-acq

Part 1: Introduction

The goal of this assignment was to produce mosaics of images by generating correspondence points among images taken of the same scene from different camera angles, generating the transformation from one image to another, warping the images, and blending the warped images together.

Part 2: Warped Images

After correspondence points were defined by hand and the transformation computed, I warped the images corresponding to the transformation. For a given image, by defining correspondence points of 4 corners of a rectangular surface, we can rectify images, as shown here. Note the distortion along the edges of the image, which can be explained by the fact that such a view can be produced by looking at the object from the periphery of the field of view.

Prerectified image
Post Rectified Image
Prerectified image
Post Rectified Image

Part 3:Generating the Mosaics

After the images were warped corresponding to the transformations, we merged the images in various ways, each with their various pros and cons.

Input Image 1
Input Image 2
Input Image 3
Image stitched together using gaussian blending along vertical borders. This works surprisingly well for the left mosaic, but has a visible seam on the right side.
Input Image 1
Input Image 2
Image stitched together using gaussian blending along vertical borders. This has a visible seam along the edge of blending.
Image stitched together using linear alpha blending. This works well, though the lighting difference between the two input images need to be compenstated for
Input Image 1
Input Image 2
Image stitched together using alpha blending. This doesn't blend well due to errors in correspondence generation/camera translation.

Part 4 Conclusion

This project was cool in that very simple blending techniques such as Gaussian blending work surprisingly well for some mosaics. However, a mask along a vertical line doesn't work always, so alpha blending works a lot better in general.