cropavi
% CROPAVI provides functionality to crop an AVI file (i.e., to delete frames from the file)
% and save the cropped version to the same directory that contains the original video file.
% The new video will have the same name as the original file, with the word
% "cropped" appended to its name. (For instance, the user can select and
% crop the video "C:\Windows\clock.avi" and the shortened video will be
% saved as "C:\Windows\clockcropped.avi." The new video has the same
% properties (Colormap, Quality, FramesPerSecond, and Compression) as the
% original video. ANY SOUNDS ASSOCIATED WITH THE ORIGINAL FILE BE DISCARDED
% IN CROPPED VIDEOS. After cropping, the cropped video will be loaded into
% the GUI. (Subsequently cropped files will be similiarly treated, with the
% word "cropped" again appended.)
%
% The program is GUI-controlled, and prompts the user to select a video for
% cropping. The user is then presented with buttons (and a slider) for
% scrolling back and forth through the video. Additional buttons allow the
% user to "MARK TO THIS POINT" (or to CLEAR said mark) to crop all frames
% up to and including the marked frame. Similarly, there is a button for
% "MARK FROM THIS POINT" (and a corresponding CLEAR button for that mark).
% Two additional buttons allow the user to mark/clear individual frames for
% deletion. A large red "X" appears on all frames slated for deletion.
%
% All buttons have descriptive tooltips to guide the user.
%
% This code is designed to eliminate frames; if instead you want to crop all frames to a
% user-defined region of interest, use Patrick Drechsler?s avicrop.m instead.
%
% Tested under versions 6.1 (R12.1) and 6.5 (R13).
%
% Written by Brett Shoelson, Ph.D. shoelson@helix.nih.gov
% 5/16/2003.
引用格式
Brett Shoelson (2024). cropavi (https://www.mathworks.com/matlabcentral/fileexchange/3457-cropavi), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
- Image Processing and Computer Vision > Computer Vision Toolbox > Tracking and Motion Estimation > Motion Detection >
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |