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?
"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
>
>
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.
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central.
Read the complete Terms prior to use.