Path: news.mathworks.com!not-for-mail
From: witek@mathworks.com
Newsgroups: comp.soft-sys.matlab
Subject: Re: Blob Analysis Interval?
Date: Fri, 9 Oct 2009 21:09:22 +0000 (UTC)
Organization: The MathWorks, Inc., Natick, MA 01760
Lines: 28
Message-ID: <hao8q2$lk5$1@fred.mathworks.com>
References: <ha1iim$4co$1@fred.mathworks.com> <haj7ov$3hf$1@fred.mathworks.com> <hamj3v$plu$1@fred.mathworks.com>
NNTP-Posting-Host: glider.dhcp.mathworks.com
X-Trace: fred.mathworks.com 1255122562 22149 144.212.109.160 (9 Oct 2009 21:09:22 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 9 Oct 2009 21:09:22 +0000 (UTC)
User-Agent: tin/1.9.3-20080506 ("Dalintober") (UNIX) (Linux/2.6.26-2-amd64 (x86_64))
Xref: news.mathworks.com comp.soft-sys.matlab:576326


Jingwei,

Consider placing Blob Analysis block inside an enabled or triggered subsystem.  Look for those
subsystems in main Simulink library called Ports & Subsystems.

BTW. Rather than counting the white pixels, have a look at the Blob Properties tab and the 
min/max blob area settings. This block is designed to look at the area first and if it's below
and/or above a certain threshold, it quits any further processing.  Perhaps you don't need an
enabled subsystem afterall?

Regards,

Witek


Jingwei  <chew_jingwei@hotmail.com> wrote:
> "Bulut " <bulutakisik@gmail.com> wrote in message <haj7ov$3hf$1@fred.mathworks.com>...
> > You may take a look at Frame Rate Display block of Simulink...
> 
> Hello! 
> thanks for the reply.
> 
> but i'm looking more at letting the blob analysis run only at certain periodic interval.
> rather than letting it run all the time. frame rate display only displays the framerate.
> 
> isit possible to count the white pixels of BW data and use that to trigger a delay before the blob analysis?
> 
> Many thanks! (: