getframe.m
来自「Video IO toolbox for matlab. 用directsho」· M 代码 · 共 30 行
M
30 行
function frame = getframe(vr)
%FRAME=GETFRAME(VR)
% Returns the current frame that has been read in from video VR. Calling
% GETFRAME does not automatically advance the current frame so the user
% must first call NEXT, STEP, or SEEK before calling GETFRAME the
% first time. This makes it easy to write loops such as the example...
%
% Example:
% vr = videoReader(...);
% while (next(vr))
% img = getframe(vr);
% % ...do something...
% end
% vr = close(vr);
%
%SEE ALSO
% videoReader
% videoReader/getinfo
% videoReader/getnext
% videoReader/next
% videoReader/seek
% videoReader/step
%
%Copyright (c) 2006 Gerald Dalley
%See "MIT.txt" in the installation directory for licensing details (especially
%when using this library on GNU/Linux).
frame = feval(vr.plugin, 'getframe', vr.handle);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?