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

Answers (1)

Image Analyst
Image Analyst on 2 Sep 2014

0 votes

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

1 Comment

Not sure why you tagged the question with with "pls" (Partial Least Squares).

This question is closed.

Asked:

raj
on 2 Sep 2014

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!