IMAGE WARPING
and
MOSAICING

Introduction

In this project, we are going to take two or more photographs and create an image mosaic by registering, projective warping, resampling, and compositing them.

Image Rectification

In the first part, we are going to rectify two images I took by warping them into square. I firstly define the correspondences as four corners of a window. Then I calculate a H for the homographic transformation with all the correspondences. Then I warp the image according to the H I calculated.
Original Rectified
Original Rectified

Blend the images into a mosaic

In the second part, I will the images so they're registered and create an image mosaic. Because there may be edge artifacts when we stitch two images together, I will use stack blending technique as we did in project 3 to blend them so it will look better.
Original 1 Original 2
Mosaic
Original 1 Original 2
Mosaic