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

Respuestas (1)

Image Analyst
Image Analyst el 2 de Sept. de 2014

0 votos

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

1 comentario

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

La pregunta está cerrada.

Preguntada:

raj
el 2 de Sept. de 2014

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by