Thread Subject: how to implement real time imread

Subject: how to implement real time imread

From: Sean Han

Date: 7 Oct, 2007 23:52:23

Message: 1 of 3

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

Subject: how to implement real time imread

From: Jos

Date: 8 Oct, 2007 09:24:42

Message: 2 of 3

"Sean Han" <han1022@hotmail.com> wrote in message
<febrfn$4eo$1@fred.mathworks.com>...
> 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
>
>


See this thread:
http://www.mathworks.com/matlabcentral/newsreader/view_thread/156597

hth
Jos

Subject: how to implement real time imread

From: auom78@dsl.pipex.com

Date: 8 Oct, 2007 09:51:54

Message: 3 of 3

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.

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com