Combine/Fuse/Mix images

Combine/Fuse/Mix images together with user defined weighting/opacity.
1.1K Downloads
Updated 9 Jul 2012

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.

Cite As

Nikolay S. (2024). Combine/Fuse/Mix images (https://www.mathworks.com/matlabcentral/fileexchange/37400-combine-fuse-mix-images), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.3.0.0

- isDrawLine added- to enables lines plotting around regions.

1.2.0.0

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

1.1.0.0

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

1.0.0.0