Project 6 part 1: IMAGE WARPING and MOSAICING

By Seunghwan Choi(cs194-26-acf)

Overview and Explanation

Part 1 requires you to take pictures of an object in different aspects, warp the images with apparently a "cool" application called image mosaicing.


So I first, using ginput from numpy, picked the correspondeces that I need to "flatten" the image. For both images, I chose the tilted rectangular as points1, regular rectangular that I hand-calculated as points2. Then I computed homographies using least squares method. Then using the inverse homographies, I transformed each point from the target image, to the interpolated original images.


First Picture and the Result


Second Picture and the Result


Reflection

I learned how to compute homographies and the difference between Affine and Perspective warping. Unfortunately, I couldn't get the mosaicing in time but all in all, it was a fun project.