this code is correct????????????

warning off;
clear all;
close all;
clc;
vid = imreader('1.jpg');
vid = read(obj);
video = vid . videos;
ST = 'rhinos.avi';
for frame = 1:number;
raj(frame)= getframe;
end

回答(1 个)

Image Analyst
Image Analyst 2014-9-2

0 个投票

No. You need to use read() instead of getframe(). See my attached demo.

1 个评论

Not sure why you tagged the question with with "pls" (Partial Least Squares).

此问题已关闭。

提问:

raj
2014-9-2

关闭:

2021-8-20

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by