Path: news.mathworks.com!newsfeed-00.mathworks.com!NNTP.WPI.EDU!elk.ncren.net!newsflash.concordia.ca!canopus.cc.umanitoba.ca!tribune.usask.ca!support1.mathforum.org!not-for-mail
From: Yumnam Kirani Singh <kirani.singh@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: How does bwlabel work?
Date: Thu, 31 Jan 2008 01:20:21 EST
Organization: The Math Forum
Lines: 1
Message-ID: <14977013.1201760451936.JavaMail.jakarta@nitrogen.mathforum.org>
References: <fnrl3h$i3i$1@fred.mathworks.com>
NNTP-Posting-Host: nitrogen.mathforum.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: support1.mathforum.org 1201760451 6244 144.118.30.135 (31 Jan 2008 06:20:51 GMT)
X-Complaints-To: news@support1.mathforum.org
NNTP-Posting-Date: Thu, 31 Jan 2008 06:20:51 +0000 (UTC)
Xref: news.mathworks.com comp.soft-sys.matlab:448487


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.