Path: news.mathworks.com!not-for-mail
From: "Peter Bone" <peterbone@hotmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Loading video frame gets slower and slower
Date: Wed, 1 Feb 2012 16:19:09 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 12
Message-ID: <jgbolt$9vp$1@newscl01ah.mathworks.com>
References: <jgblcu$r7q$1@newscl01ah.mathworks.com> <jgbnnt$6lq$1@newscl01ah.mathworks.com>
Reply-To: "Peter Bone" <peterbone@hotmail.com>
NNTP-Posting-Host: www-03-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1328113149 10233 172.30.248.48 (1 Feb 2012 16:19:09 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 1 Feb 2012 16:19:09 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 870367
Xref: news.mathworks.com comp.soft-sys.matlab:756409

"Suraj " <suraj.kv.blog@gmail.com> wrote in message <jgbnnt$6lq$1@newscl01ah.mathworks.com>...
> How did you insert axes() function with your code? What if you use vision.videoplayer function, then how can I insert axes() function?
> 
> All I need is the output of vision.videoplayer, how can I insert onto GUI axes i've created, any idea?

I just do

vid = mmread(filename, frame_num);
cla
imshow(vid.frames(1).cdata)

I don't have the vision package so I don't know about vision.videoplayer