Code covered by the BSD License  

Highlights from
Images blending/mixture/photomontage

3.0 | 1 rating Rate this file 10 Downloads (last 30 days) File Size: 3.87 KB File ID: #36749 Version: 1.1
image thumbnail

Images blending/mixture/photomontage


Nikolay S. (view profile)


17 May 2012 (Updated )

Combine images together in a photomontage style.

| Watch this File

File Information

This is a small function designed to enter a small image, onto a bigger one. It can be handy in several cases- both for images and especially for videos (perhaps I'll write a wrapper function for video later on). It can be used for hiding an object (like faces of persons interested in anonymity). Another option is water marking.
Annotation, and image/video editing is also an option- adding an object to an existing image. The function receives a main- tile image, and a smaller image subject to insertion. The user specifies the inserted image position, the part of the image to be inserted, the way coordinates should be treated, and the opacity value. Image mixture is generated according to the above parameters, and the new image is returned.


Apply2 Video Frames inspired this file.

This file inspired Embed Image To Video and Embed Video2 Video.Zip.

Required Products Image Processing Toolbox
MATLAB release MATLAB 7.12 (R2011a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (6)
20 May 2015 Nikolay S.

Nikolay S. (view profile)

Hi there Elba Martinez Rayas.
Please email me (either via Author page or find me in LinkedIn), and we will solve this.

Comment only
19 May 2015 elba martinez rayas

Hi Nikolay, the problem is with the function, I ran the example 1 but it doesn´t work, well the question is I have to run only the part of the example o it is necessary the rest of the program?..

Comment only
09 May 2015 Nikolay S.

Nikolay S. (view profile)

Hi there Elba Martinez Rayas.
I'd be happy to hear what exactly did not work.
I understand you wish to add a video into an image. Well, i hardly believe this is possible- perhaps you'd first convert your single image into a video where all frame are made of the same image, and to this video you'll embed another one? if this is ok, you can use my function- embedding one video into another:
Try it, and I hope it will do the trick for you. best regards,

Comment only
08 May 2015 elba martinez rayas

the program it doesn't work...can you tell me why?...

I have to do something similar but i have to montage a video in to a image.

Comment only
26 Feb 2013 Nikolay S.

Nikolay S. (view profile)

Hi Wong.
imagesMixture is the main function. assignin_value is a service function. See imagesMixture documentation for an explanation & example

Comment only
26 Feb 2013 Wong

Wong (view profile)

Missing the main function. .Just two functions.

21 May 2012 1.1

A few bugs were fixed, some code rewritten

Contact us