📄 extractframes.m
字号:
% Script to create the frames/ subdirectory. The data in that directory is
% used to test the 'load' and 'imread' plugins.
%
% Normal users will likely have no need to directly call this function.
N = 100;
if ~exist('frames','dir') || length(dir('frames')) < N
ienter;
mkdir('frames');
for i=0:N-1,
frame = genTestFrame(320,240,i,N);
imwrite(frame, sprintf('frames/numbers.%04d.png', i));
save(sprintf('frames/numbers.%04d.mat', i), 'frame');
end
iexit;
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -