Project 4a: Autostitching and Mosaicing!

Anuja Lohia

Overview

The goal of the project was to get familiar with warping and stitching images together into panoramas.

Part 1: Click Pictures and Mark Correspondences

Took two pictures of my kitchen and marked some 10 corresponding points so as to facilitate the warping.


Computing Homography Matrix

The next step was to find the unknowns - 8 degrees of freedom and create a homography matrix that would be used for warping.


Image Rectification

The next step was to warp and rectify the image into a more compatible field of view.

Blending and Creating the mosaic

Finally we blend the warped image with the original image to create a mosaic.

Project 4B

First we find the Harris corners- as we can see we have several harris corners

ANMS and matching

Then we select the best 500 using ANMS and use feature descriptor matching to match the points in both the images

RANSAC and blend

Then we use the RANSAC algorithm to sample pairs and get the largest subset of inliers and use that to compute the homography. Then we blend the images and get the result. Below is a comparison between the manual and automatic blend - they look quite similar, neat!

Conclusion: This project taught me some very great image processing skills. Learning the math and the code behind how to create panoramic pictures from separate images with different views was all quite interesting!