View License

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

» Watch video

Highlights from
Mixing / Combining 2 Images (Image Fusion)

3.3 | 9 ratings Rate this file 31 Downloads (last 30 days) File Size: 604 KB File ID: #25006 Version: 1.1
image thumbnail

Mixing / Combining 2 Images (Image Fusion)


Athi (view profile)


12 Aug 2009 (Updated )

This program fuses/combines/mixes 2 images It supports both Gray & Color Images

| Watch this File

File Information

This program fuses/combines/mixes 2 images
It supports both Gray & Color Images
In the program, Alpha Factor can be varied to vary the proportion of mixing of each image.
With Alpha Factor = 0.5, the two images are mixed equally.
With Alpha Facotr < 0.5, the contribution of background image will be more.
With Alpha Facotr > 0.5, the contribution of foreground image will be more.

Required Products Image Processing Toolbox
MATLAB release MATLAB 6.5 (R13)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (14)
22 Oct 2012 Elysi Cochin

what to do if i want to view upper half of image 1 and lower half of image 2 as image 3, i.e. combine upper half of image1 and lower half of image2 as image 3.... i think u got me..... please help me......

19 Oct 2012 antony

antony (view profile)

is it PCA based image fusion?i want to fuse the images beased on its color based segmentation..anyone please send me the code or link please

Comment only
11 May 2012 ihec

ihec (view profile)

how fade to move from one image to another

Comment only
26 Jan 2012 Syahrul Niezam

Thank you for sharing the codes.
I would like to ask, is it possible to apply fusion into converted image in program.

Comment only
01 Oct 2011 Satvir Kaur

25 Jul 2011 suraj raj

can you explain fusion by PRI(Probabilistic Rand Index)

Comment only
07 Jun 2011 Sean de

Sean de (view profile)

Main.m is a malware driver script but fuseimages.m itself does exactly what it claims to.

30 Sep 2010 Matteo Niccoli

Have to agree with Tim. I'd give it a 4 if the author called the submission a demo.

14 Aug 2009 Athi

Athi (view profile)

Dear us, Joh D'Errico
1. Main.m file is to help the new matlab programmers for the
usage of the FuseImages.m, You dont worry about clearing the
work space. If you feel so, use only the FuseImages.m
2. In what way the comment is missing. Please let me know. So
that I can update the file version.
3. Getting choice of input is a simple thing with uigetfile.

Please let me know your valuable comments. So as to make the code fulfil all the levels of matlab programmers' requirements.

Comment only
13 Aug 2009 creek

creek (view profile)

Just to condemn the 1-star gang at matlab, I downloaded and looked through the files. I give a 5star to this. Fantastic brilliant work, mate, keep it up.

13 Aug 2009 Tim

Tim (view profile)

Is it written somewhere that the FE is only for polished, fully operational, generalizable, help-laden functions ? If it is (is it ?), I would find that unnecessarily limiting. If I am not sure how to do something, and an explicit example such as this shows me how, then I am better off than I would be without such a submission. So I am appreciative and likely to rate accordingly. The fact that real example data is provided - even if hard-coded - is a plus in my mind.
If there is a better way of doing this operation, then let's hear it.

12 Aug 2009 John D'Errico

John D'Errico (view profile)

Beyond what us mentions, this only does a trivial linear combination of the two images. The images that it works on are fixed, hard coded file names. This is a terrible interface.

No help. No error checks. Christopher is a bit infatuated with this author.

12 Aug 2009 us

us (view profile)

how can this earn 5 stars(?)...
a script that clears the workspace without asking, no help, no explanation, no comment, no choice of input...

12 Aug 2009 Christopher


07 Jun 2011 1.1

Author Info Updated

Contact us