Code covered by the BSD License  

Highlights from
Crop video to sub elements

Be the first to rate this file! 23 Downloads (last 30 days) File Size: 6.36 KB File ID: #34845
image thumbnail

Crop video to sub elements

by

 

31 Jan 2012 (Updated )

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

| Watch this File

File Information
Description

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.

Acknowledgements

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
MATLAB release MATLAB 7.12 (R2011a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Updates
14 Mar 2012

Minot bug & comments fixed.

14 Mar 2012

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

15 May 2012

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

Contact us