Code covered by the BSD License  

Highlights from
Stitch

4.0
4.0 | 3 ratings Rate this file 33 Downloads (last 30 days) File Size: 82.6 KB File ID: #25797 Version: 1.3
image thumbnail

Stitch

by

Mark Hayworth (view profile)

 

10 Nov 2009 (Updated )

Stiches or averages two image files or two sound files into a single file.

| Watch this File

File Information
Description

This utility can stitch or average two images together into a single image. Brings up a GUI to allow use to select two images from listboxes, select whether they want them stitched side-by-side, or over-and-under, where to place smaller images in the event of size mismatches (for example in the center or the upper left), and allows them to rotate one or both images by 90 or 180 degrees. It can process a single pair of images, or batch process a number of selected pairs.

Besides images, it can also process sound files of ".wav" format. For .WAV format sound files, it can stitch them together (concatenate them). It does not blend (average) two wav files together (in this version).

This should work with much older versions of MATLAB (than R2009b), as long as you have the Image Processing Toolbox.

Required Products Image Processing Toolbox
MATLAB release MATLAB 7.9 (R2009b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (5)
07 Dec 2014 Adeel

Adeel (view profile)

 
20 Nov 2013 Mark Hayworth

Mark Hayworth (view profile)

Minealter, they got rid of the 4th output argument in a version after R2009b. I changed the function to get rid of it and submitted it and the updated version should be up shortly.

Comment only
20 Nov 2013 Mineralter

There might be a mistake in my computer win7.My software version is R2013b,"fileparts" has 3 output arguments, but your parts at the line 613,
"[folder, name, extension, version] = fileparts(baseFileName)",
will it be fixed?

20 Jun 2012 lo luo

lo luo (view profile)

The code works very well. Thanks for sharing the code

12 Nov 2009 Mark Hayworth

Mark Hayworth (view profile)

An update was submitted on Nov. 12.

Comment only
Updates
12 Nov 2009 1.1

1. Fixed small bug in the blending images routine. 2. Added Brett Shoelson's trick to change Current Folder to the m-file's folder.

20 Nov 2013 1.3

Got rid of version, an output of fileparts() that used to be provided, but is now no longer returned by fileparts().

Contact us