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

Antworten (1)

Image Analyst
Image Analyst am 2 Sep. 2014

0 Stimmen

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

1 Kommentar

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

Diese Frage ist geschlossen.

Gefragt:

raj
am 2 Sep. 2014

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by