Image Warping and Mosaicing Part A

Shoot the Pictures

image.png

image.png

I used same exposure for both parts. I just changed perspective around this banner in my room.

Recover Homographies

image.png

I used the following structure to create my matrix for homographies. I used least squares in order to get the actual 3x3 matrix with 8 entries.

image.png

The above example shows the 3x3 matrix for my above 2 pictures, warping image 2 to image 1.

Image Warping

I am warping images similar to how we did in project 3. I get a list of coordinates in the particular form of

x1, x2, x3 .... y1, y2, y3 .... 1 , 1 , 1 ....

and then multiply this by the homography matrix.

The current warp I have from Image 2 to 1 looks like this:

image.png

In [ ]: