In this project, I created a mosaic by taking pictures of various scenes, and selecting corresponding points to define a homography matrix H, which I then used to transform the perspective of one image into another through rectification. The results are then blended in order to create a whole mosaic, and repeated with more images.
Shoot the Pictures
The images were taken with a Google Pixel, and digitized through Matlab.
Recover Homographies And Warp
A homography matrix was created using input points selected using a correspondences tool. The matrix was then used to warp the selected images into a rectified image. Results for the left and right images shown here:
Left Rectified
Right Rectified
Blend Images
The resultant images are then blended into one single mosaic. Currently I'm doing a "brute-force/naive" method, since I might not be able to implement alpha blending in time. But the results are relatively visualized here.
Left Blend
Right Blend
Combined
Summary
I wasn't able to get blending to work in time, but based off of the resulting rectified images, if alpha blending was correctly implemented the resulting mosaics should've looked fine. I spent a long time trying to figure out an issue with the warp, but it turned out it was because I wasn't converting my images to doubles, and getting bright results from that