File Exchange

image thumbnail

Crop video to sub elements

version 1.4 (5.64 MB) by

This function divides the input video to several parts/sub videos.

7 Downloads

Updated

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 (http://www.mathworks.com/matlabcentral/fileexchange/32351-apply2videoframes) 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 (http://www.mathworks.com/matlabcentral/fileexchange/33778-apply-multiple-functions-in-a-single-function) but that would be a bit complicated.

Comments and Ratings (0)

Updates

1.4

Replaced some outdated functions.
Made code simpler
Added demo
Added a video to play with

1.3

2012-05-15- Input video can be omitted, and chosen via Files Explorer.

1.2

- Minor bug and documentation fixes
- Frame choose menu added, for GUI based RECT choose option.

1.1

Minot bug & comments fixed.

MATLAB Release
MATLAB 7.12 (R2011a)

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

» Watch video