Project 6a: Image Warping and Mosaicing

Sally Yen 26404499

Overview

The goal of this project is to warp images to create image mosaics.

Image Rectification

Procedure

The first thing I did was take photos on my Android and defined at least 4 correspondences between the images with ginpoint in python.

Then the next step would be to recover the 3x3 homography transformation matrix H. By setting the scaling factor i to 1, then we have 8 unknown variables to solve. As there are two equations per point, we need a minimum of 4 pairs of corresponding points to either directly solve for H or estimate H using least squares.

Using the homography matrix, I did an inverse warp to create the transformed image.

Results


Original
Rectified
Original
Rectified

Mosaics

Procedure

Finally for image mosaics, we find the homography matrix from corresponding points of the two images, and then warp one of the images to the perspective of the other and then overlap them.

Results


Conclusion

To conclude, I really liked being able to make panoramas and how homography projections work and can be calculated.