Project 5: Image Stitching

 

For this part of the project, I implemented a transformation that transforms one image to look like from the perspective of another.

To find the homography, I solve an H matrix with 4 pairs of labeled points.

 

Mosaic:

The following pictures are taken in my kitchen. The algorithm transforms the first into one that can be stitched with the second.

Image 1 and 2

 

 

Mosaic

 

 

Rectification

For this part, I used the transformation function to transform the painting on the right of the original picture to a frontal parallel one.

Original

 

Transformed

 

From this part, I was surprised by how well this simple transformation works without any complicated technique. Thats what I learned most from, that to tackle a seemingly hard problem sometimes we dont need that many complicated techniques.