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 件のコメント

Image Analyst
Image Analyst 2014 年 9 月 2 日
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