View License

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

» Watch video

Highlights from
Crop video to sub elements

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

Be the first to rate this file! 6 Downloads (last 30 days) File Size: 5.64 MB File ID: #34845 Version: 1.4
image thumbnail

Crop video to sub elements


Nikolay S. (view profile)


31 Jan 2012 (Updated )

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

| Watch this File

File Information

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.


Pack & Unpack Variables To & From Structures With Enhanced Functionality, Apply2 Video Frames, and Apply Multiple Functions In A Single Function. inspired this file.

Required Products Image Processing Toolbox
MATLAB release MATLAB 7.12 (R2011a)
MATLAB Search Path
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
14 Mar 2012 1.1

Minot bug & comments fixed.

14 Mar 2012 1.2

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

15 May 2012 1.3

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

08 Feb 2015 1.4

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

Contact us