Info

此问题已关闭。 请重新打开它进行编辑或回答。

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

3 次查看(过去 30 天)
raj
raj 2014-9-2
关闭: MATLAB Answer Bot 2021-8-20
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
No. You need to use read() instead of getframe(). See my attached demo.
  1 个评论
Image Analyst
Image Analyst 2014-9-2
Not sure why you tagged the question with with "pls" (Partial Least Squares).

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by