Create panorama image from given set of overlapping images.
We have implemented the panoramic image stitching algorithm using invariant features from scratch. We have Implemented the David Lowe research paper on "Panoramic Image Stitching using Invariant Features". Used SIFT to detect features, RANSAC, Homography and Warp Prespective concepts.
NOTE: You can experiment with any images (of your own choice). We have experimented with many which you can find in
data/
folder. Please check the results below.
data/
folder. Copy images from data/
folder
and put it into inputs/
folder. data/tajm
folder images in inputs/
folder.
You can create your own images as well and put it into inputs/
folder.
inputs/
folder from which you want to create panorama image.python3 stitch.py
inputs/
folder):
Enter the number of images you want to concatenate: 4
Enter the image names with extension in order of left to right in the way you want to concatenate:
Enter the 1 image name along with path and extension: inputs/tajm1.jpg
Enter the 2 image name along with path and extension: inputs/tajm2.jpg
Enter the 3 image name along with path and extension: inputs/tajm3.jpg
Enter the 4 image name along with path and extension: inputs/tajm4.jpg
panorama_image.jpg
and matched_points.jpg
will be created in output/
folder.tajm1.jpg, tajm2.jpg, tajm3.jpg, tajm4.jpg
nature1.jpg, nature2.jpg, nature3.jpg, nature4.jpg, nature5.jpg, nature6.jpg
my1.jpg and my2.jpg
taj1.jpg and taj2.jpg
room1.jpg and room2.jpg