File Exchange

image thumbnail

Combine/Fuse/Mix images

version 1.3 (7.58 KB) by

Combine/Fuse/Mix images together with user defined weighting/opacity.



View License

This is a small function designed to fuse/blend images together. We have found it to be handy in several cases- both for images and videos (see Example III for videos fusion).
It can be used for comparing several image processing methods, applied to an image. While image processing algorithms are frequently evaluated by comparing resulting images side by side, via concatenation or subplot it results in large images. The proposed function allows presenting several methods, each applied to a user defined region of the image, so several methods are evaluated on a single image. This is expected to be even better for videos, where camera motion will result in scene migrations between areas. We have found this function to be useful in generation of test images for segmentation algorithms evaluation. Several texture images were combined in a mosaic, subject to further segmentation. This function can be used for combinations of different images, though we believe imagesMixture to be a more appropriate function for this task. While having only a few inputs parameters, the function allows the user to control the region of each image, and the inter-image opacities, so both soft and sharp margins are possible.

Comments and Ratings (2)

Nikolay S.

Nikolay S. (view profile)

Hello Antony.
It will be hard for me to answer you, as you've asked your question about another submission by Author: Athi".
Good luck with images fusion!


antony (view profile)

i couldnt able to get the answer



- isDrawLine added- to enables lines plotting around regions.


- An automated mask generation sub function added.
- Video example added.


- An automated mask generation sub function added.
- Video example added.

MATLAB Release
MATLAB 7.12 (R2011a)

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

» Watch video

Win prizes and improve your MATLAB skills

Play today