The goal of this function is to embed a given video frames into another Main video.
The basic use is to highlight regions of interest, or render/annotate selected video frames. Another example is a case you wish to hide something on the video- like someone face etc, by occluding it with other dynamic scene frames. Video montage is naturally the most general case. This function allows you to enter one video frames into other video frames, where user chooses the frames, the image mask ROI, embedding position inside video, image opacity, inserted frame angle etc. This is quite powerful tool allowing us to plant a group of different new objects into a given video easily and quickly.
See results of Example\demo in https://www.youtube.com/watch?v=qjcchqyedmw
Nikolay S. (2019). embedVideo2Video.zip (https://www.mathworks.com/matlabcentral/fileexchange/47734-embedvideo2video-zip), MATLAB Central File Exchange. Retrieved .
In Matlab 2014b and later, original folder became read only- had to replace the resulting video file destination.