@seqReaderPlugin
Plugin for seqIo and videoIO to allow reading of seq files.
Do not call directly, use as plugin for seqIo or videoIO instead.
The following is a list of commands available (srp=seqReaderPlugin):
h = srp('open',h,fName) % Open a seq file for reading (h ignored).
h = srp('close',h); % Close seq file (output h is -1).
[I,ts] =srp('getframe',h) % Get current frame (returns [] if invalid).
[I,ts] =srp('getframeb',h) % Get current frame with no decoding.
ts = srp('getts',h) % Return timestamps for all frames.
info = srp('getinfo',h) % Return struct with info about video.
[I,ts] =srp('getnext',h) % Shortcut for 'next' followed by 'getframe'.
out = srp('next',h) % Go to next frame (out=0 on fail).
out = srp('seek',h,frame) % Go to specified frame (out=0 on fail).
out = srp('step',h,delta) % Go to current frame+delta (out=0 on fail).
USAGE
varargout = seqReaderPlugin( cmd, h, varargin )
INPUTS
cmd - string indicating operation to perform
h - unique identifier for open seq file
varargin - additional options (vary according to cmd)
OUTPUTS
varargout - output (varies according to cmd)
EXAMPLE
See also SEQIO, SEQWRITERPLUGIN
Piotr's Computer Vision Matlab Toolbox Version 3.10
Copyright 2014 Piotr Dollar. [pdollar-at-gmail.com]
Licensed under the Simplified BSD License [see external/bsd.txt]
Are there any code examples left?
New code examples in category Other
-
Other 2023-03-27 22:50:10 how to select the whole line in vscode with keyboard shortcut
-
Other 2022-03-27 22:45:24 income of a web developer
-
Other 2022-03-27 22:35:01 \pyrcc_main.py: File does not exist 'resources.qrc'
-
Other 2022-03-27 22:30:45 rick roll embed code
-
Other 2022-03-27 22:20:08 Circuit_04_Potentiometer
-
Other 2022-03-27 22:20:05 iterative power
-
Other 2022-03-27 22:15:11 flutter run all
-
Other 2022-03-27 22:10:05 when is karlson release
-
Other 2022-03-27 22:10:02 wp .htaccess example
-
Other 2022-03-27 22:00:08 bash pause in file read line by line