CS 194-26

Project 6: IMAGE WARPING and MOSAICING

Minjoo Sur

Rectified Pictures

By using homography matrix, we can find the original pattern of an object/poster with an angle. Below are examples of original and rectified images.


Original
Rectified

Original
Rectified

Warping

Using Homography matrix, we can warp one picture onto another. First, we multiply H with [x,y,1] to check the size. After we check what size our warped picture will have, we now fill in pixels of the the warped pictures with the original mapped points using inverse H. After this, we blend two pictures together to get panaramic view of the combined picture. I used linear blending for this using 0.5 as weight for both pictures. Below are the original pictures and the results.


Memorial1
Memorial2
Memorial3

Memorial Panorama

Cropped Memorial Panorama

room1
room2

room Panorama

Cropped room Panorama

Encore Hotel 1
Encore Hotel 2

Encore Hotel Panorama

Summary & What I learned

Through this project, I learned how to warp images and make it into panoramic view iamge using the the homography matrix and blending. It was interesting to learn Homography matrix could be used to get the size of the warped image and each point(pixel) in the warped picture can be mapped back to the original image using inverse of H. I enjoyed it a lot!