How to stitch two sets of multiple images together into a panorama and make them be the same size

11 views (last 30 days)
I'm stitching two sets of 4 images each into a panorama based on the Feature Based Panoramic Image Stitching code; however, I need them to be exactly the same size and be stiched around the same similarity points so I can overlay them. I was thinking I could give the second set of images the similarity points of the first and have it be stiched based on that, but I have no idea how to go about that. Any help or other ideas would be greatly appreciated.
Attached are the set of images after being stitched together, but not with mathcing dimensions
untitled.jpg
untitled1.jpg

Answers (1)

Image Analyst
Image Analyst on 17 Apr 2019
I'd maybe try to fill the black parts with the mean gray level, then use imregister() to align them. I don't think they need to be the same size to align them but I'm not sure. If they do, then do a segmentation with something like stdfilt() and find the bounding boxes and crop to the largest bounding box (maybe enlarged a little bit).
Attach your 3 images and your script (as you have it so far).
  2 Comments
Devyani Sankhe
Devyani Sankhe on 28 Jan 2021
how can i stitch different images (Total images are 100 numbers)
is their any method to stitch different part of whole image to form one complete picture in this application?. Sorry but i am very new user at Matlab. For example i have attached image to understand you very clearly. In this image i have stiched image but this is not perfect. I want to do perfect stitching with auto option, so software can do it by itself. Thanks in advance…!!

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!