Crop video to sub elements
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.
Citation pour cette source
Nikolay S. (2024). Crop video to sub elements (https://www.mathworks.com/matlabcentral/fileexchange/34845-crop-video-to-sub-elements), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- FPGA, ASIC, and SoC Development > Vision HDL Toolbox > Video Formats and Interfaces >
- Image Processing and Computer Vision > Vision HDL Toolbox > Video Formats and Interfaces >
Tags
Remerciements
Inspiré par : Pack & Unpack variables to & from structures with enhanced functionality, apply2VideoFrames, Apply multiple functions in a single function.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
videoMultiCrop/
Version | Publié le | Notes de version | |
---|---|---|---|
1.4.0.0 | Replaced some outdated functions.
|
||
1.3.0.0 | 2012-05-15- Input video can be omitted, and chosen via Files Explorer. |
||
1.2.0.0 | - Minor bug and documentation fixes
|
||
1.1.0.0 | Minot bug & comments fixed. |
||
1.0.0.0 |