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

Réponses (1)

Image Analyst
Image Analyst le 2 Sep 2014

0 votes

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

1 commentaire

Image Analyst
Image Analyst le 2 Sep 2014
Not sure why you tagged the question with with "pls" (Partial Least Squares).

Cette question est clôturée.

Question posée :

raj
le 2 Sep 2014

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by