In this project, I used created image mosaics by transforming images into the same perspective and then stitching the images together to form a single panorama.
By selecting the 4 corners of a shape in an image, we can rectify it by computing the homography from the points to a rectangle and then performing the transformation on all of the points in the image.
|
|
|
|
By defining correspondences between image, we can then transform images to a base image and stitch them together to from a panorama. The more correspondences there are, the more accurate the homography as more points reduces the error on each particular point. To blend images together more seamlessly, I used a alpha mask.
We can do this with 3 images as well!
We can get some cool effect if we take the 2 pictures at different times.
Homography are cool! In this project learned how panoramas and that it really is just a perspective transform.