Project 4A: IMAGE WARPING and MOSAICING

Shooting Pictures

bears

Left

bears

Right

bears

Left

bears

Right

bears

Left

bears

Right

Recover Homographies

I first select eight points that correspond with each other on each set of images.

bears

Left

bears

Right

bears

Left

bears

Right

bears

Left

bears

Right

Once I have the points, I can create a system of linear equations that is overdetermined and find the homography matrix with least squares.

bears

Warp the Images

Once I have the homography matrix and the points of the source image, I can transform the points onto the target image using

bears

Image Rectification

To test image warping, I can rectify a few images

bears
bears
bears
bears

Blend the images into a mosaic

I first warp the images using the homographies recovered in the earlier parts. Then, I use a mask to conduct linear alpha blending between the images.

bears
bears
bears

The coolest thing I learned from this part was how to compute homographies in order to transform points from one image to another!