Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!k79g2000hse.googlegroups.com!not-for-mail
From:  auom78@dsl.pipex.com
Newsgroups: comp.soft-sys.matlab
Subject: Re: how to implement real time imread
Date: Mon, 08 Oct 2007 02:51:54 -0700
Organization: http://groups.google.com
Lines: 28
Message-ID: <1191837114.981125.11490@k79g2000hse.googlegroups.com>
References: <febrfn$4eo$1@fred.mathworks.com>
NNTP-Posting-Host: 195.6.25.119
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Trace: posting.google.com 1191837115 20088 127.0.0.1 (8 Oct 2007 09:51:55 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 8 Oct 2007 09:51:55 +0000 (UTC)
In-Reply-To: <febrfn$4eo$1@fred.mathworks.com>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; H010818; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: k79g2000hse.googlegroups.com; posting-host=195.6.25.119;
Xref: news.mathworks.com comp.soft-sys.matlab:431753



On 8 Oct, 00:52, "Sean Han" <han1...@hotmail.com> wrote:
> 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

Help exist - take a look at the file option.

HTH,

David.