3.125

3.1 | 8 ratings Rate this file 83 Downloads (last 30 days) File Size: 604.19 KB File ID: #25006
image thumbnail

Mixing / Combining 2 Images (Image Fusion)

by Athi

 

12 Aug 2009 (Updated 07 Jun 2011)

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

| Watch this File

File Information
Description

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  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (11)
12 Aug 2009 Christopher

Good

12 Aug 2009 us

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

12 Aug 2009 John D'Errico

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.

13 Aug 2009 Tim

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.

13 Aug 2009 creek

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.

14 Aug 2009 Athi

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.

30 Sep 2010 Matteo Niccoli

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

07 Jun 2011 Sean de

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

25 Jul 2011 suraj raj

can you explain fusion by PRI(Probabilistic Rand Index)

01 Oct 2011 Satvir Kaur  
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.

Please login to add a comment or rating.
Updates
07 Jun 2011

Author Info Updated

Tag Activity for this File
Tag Applied By Date/Time
image processing Athi 12 Aug 2009 10:50:13
fusion Athi 12 Aug 2009 10:50:13
mixing Athi 12 Aug 2009 10:50:13
combining Athi 12 Aug 2009 10:50:13

Contact us at files@mathworks.com