Embed image to video

Embedding single image along video frames, with many options.
999 Downloads
Updated 1 Feb 2015

View License

The goal of this function is to embed an image into a video. The basic use is to highlight object of interest. Another example is a case you wish to hide something on the video- like someones face etc... This function allows you to enter the image to video frames, where user chooses the frames, the image mask ROI, image position inside video, image opacity, image angle etc...
This is quite powerful tool allowing us to plant new objects into a given video.
See expected demo results on Youtube: https://www.youtube.com/watch?v=vMHQhFFefx8&feature=youtu.be

Cite As

Nikolay S. (2024). Embed image to video (https://www.mathworks.com/matlabcentral/fileexchange/36787-embed-image-to-video), MATLAB Central File Exchange. Retrieved .

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

Inspired by: Images blending/mixture/photomontage

Inspired: embedVideo2Video.zip

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.0

- Changed video encoding, forcing usage of VidoeWriter for Matlab version later the 7.0 .
- Added demo script.
- Added YouTube vide of the demo video

1.0.0.0