File Exchange

image thumbnail

Images blending/mixture/ph​otomontage

version 1.1 (3.87 KB) by

Combine images together in a photomontage style.

4 Downloads

Updated

View License

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.

Comments and Ratings (6)

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.
Cheers,
 Nikolay

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?..

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: http://www.mathworks.com/matlabcentral/fileexchange/47734-embedvideo2video-zip.
Try it, and I hope it will do the trick for you. best regards,
 Nikolay.

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.

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

Wong

Wong (view profile)

Missing the main function. .Just two functions.

Updates

1.1

A few bugs were fixed, some code rewritten

MATLAB Release
MATLAB 7.12 (R2011a)
Acknowledgements

Inspired by: apply2VideoFrames

Inspired: Embed image to video, embedVideo2Video.zip

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

» Watch video