Path: news.mathworks.com!not-for-mail
From: "Wolfgang Schwanghart" <schwanghart@googlemail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: How does bwlabel work?
Date: Thu, 31 Jan 2008 12:04:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 15
Message-ID: <fnsdfi$it7$1@fred.mathworks.com>
References: <fnrl3h$i3i$1@fred.mathworks.com> <14977013.1201760451936.JavaMail.jakarta@nitrogen.mathforum.org>
Reply-To: "Wolfgang Schwanghart" <schwanghart@googlemail.com>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1201781042 19367 172.30.248.37 (31 Jan 2008 12:04:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 31 Jan 2008 12:04:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 870595
Xref: news.mathworks.com comp.soft-sys.matlab:448517


See:
http://blogs.mathworks.com/steve/category/connected-components/



Yumnam Kirani Singh <kirani.singh@gmail.com> wrote in
message
<14977013.1201760451936.JavaMail.jakarta@nitrogen.mathforum.org>...
> BWlabel basically finds the connected components of a
binary image. All the pixels in a connected components are
given a level. The searching of the connected components is
done in the coulmn-wise fashion, in other words, in
top-to-bottom scan order. All pixels in the first conected
component is labeled -1 and those in the second as 2 and so on.