Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!t42g2000hsg.googlegroups.com!not-for-mail
From: ImageAnalyst <imageanalyst@mailinator.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: how can I label segmented images
Date: Wed, 29 Oct 2008 09:55:51 -0700 (PDT)
Organization: http://groups.google.com
Lines: 25
Message-ID: <1d3ccafc-fd44-49cc-b289-f8c5f322f641@t42g2000hsg.googlegroups.com>
References: <gea0gi$nq2$1@aioe.org>
NNTP-Posting-Host: 192.44.136.113
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1225299351 31407 127.0.0.1 (29 Oct 2008 16:55:51 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 29 Oct 2008 16:55:51 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: t42g2000hsg.googlegroups.com; posting-host=192.44.136.113; 
	posting-account=0rLUzAkAAABojYSRC64DkTbtiSCX77HH
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET 
	CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 
	3.5.21022),gzip(gfe),gzip(gfe)
X-HTTP-Via: 1.1 bdci2px (NetCache NetApp/6.0.7)
Xref: news.mathworks.com comp.soft-sys.matlab:497842


On Oct 29, 11:46=A0am, Vicky <bonsa...@gmx.de> wrote:
> Hi there,
>
> I'll be grateful if someone can help me out.
>
> I have segmented bmp-images. Now I want to label (mark) each pixel of
> each image, so that pixel with the same color (rgb) become the same
> label. The label have to be an integer value.
>
> Is it possible to label an segmented image?
>
> How can I realize it?
>
> I think the marker-based watershed segmentation is such a thing that I
> need. But I have already segmented images.
>
> Best regards
> Vicky

----------------------------------------------------------------------
Vicky:
You need the image processing toolkit.  In there, there is a function
called bwlabel() that does what you want.
Regards,
ImageAnalyst