Crop video to sub elements

version (5.64 MB) by Nikolay S.
This function divides the input video to several parts/sub videos.


Updated Sun, 08 Feb 2015 14:16:09 +0000

View License

This functions allows the user to crop the input movie to several (unlimited) fragments of his choice. The fragment dimensions are user defined either via functions input or via GUI control (using the imrect function). The function can be thought of as the complementary of my concatVideo2D, (although this isn't quiet accurate). Same results can be reached via my apply2VideoFrames.m function ( when Matlab imcrop function is utilized, but when you need to get several sub videos at a time- this is easier and faster. Another way to reach this functionality in a single line command would be through the combination of apply2VideoFrames.m with
funXapply.m ( but that would be a bit complicated.

Cite As

Nikolay S. (2022). Crop video to sub elements (, 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!