Path: news.mathworks.com!not-for-mail
From: "Sean Han" <han1022@hotmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: how to implement real time imread
Date: Sun, 7 Oct 2007 23:52:23 +0000 (UTC)
Organization: University of Michigan
Lines: 22
Message-ID: <febrfn$4eo$1@fred.mathworks.com>
Reply-To: "Sean Han" <han1022@hotmail.com>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1191801143 4568 172.30.248.35 (7 Oct 2007 23:52:23 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 7 Oct 2007 23:52:23 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1139527
Xref: news.mathworks.com comp.soft-sys.matlab:431729



Greetings,

I need to read images and apply image processing algorithm 
in real time. So I want to do 'imread' as soon as an image 
is created in Matlab working directory.

I was thinking something like this:

1. Keep reading image files and store them using structure

2. If a new image is dropped into the folder and the new 
list and the old list are different, do carry out image 
processing algorithm

Is there a way I could make the Matlab to read images 
forever? Should I just use while loop?

Is there a better way I could go about this problem?

Thanks, -Sean