View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Basic Three Image Stitching Code

4.0 | 1 rating Rate this file 21 Downloads (last 30 days) File Size: 2.03 KB File ID: #44247 Version: 1.0
image thumbnail

Basic Three Image Stitching Code



This is a basic code which tells how 3 images, displaced in X direction, can be stitched.

| Watch this File

File Information

In this code, we have used 3 sub images which have been displaced in X-direction only. Here we have used correlation method in order to find the largest similarity between a patch of rows x 5columns dimension of second image with a series of patches of rows x 5columns dimension from the first sub image. The point giving maximum similarity is saved as index. The second image is then registered & stitched from there over the fist one. Once an image is formed from the above process, the same method is used to stitch the newly stitched image & the third image to form a final stitched image.


Image Stitching Using Correlation inspired this file.

Required Products MATLAB
MATLAB release MATLAB 7.7 (R2008b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
17 Nov 2014 siddappa

Comment only
09 Aug 2014 Amir

Amir (view profile)

It works great.
I'm kind of new to matlab could you please advise how would you do it for a whole folder of jpgs ?

Comment only
10 Nov 2013 Ramo

Ramo (view profile)

As i have been taking photos from the top of the building, this woulding work perfectly as it's only work for images that have been displaced in X-direction only. Thanks anyway and keep up the hard work!

Contact us