Path: news.mathworks.com!newsfeed-00.mathworks.com!nlpi057.nbdc.sbc.com!prodigy.net!news.glorb.com!news2.glorb.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!newsfe12.iad.POSTED!7564ea0f!not-for-mail
From: Walter Roberson <roberson@hushmail.com>
Organization: Canada Eat The Cookie Foundation
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
Newsgroups: comp.soft-sys.matlab
Subject: Re: how can I label segmented images
References: <gea0gi$nq2$1@aioe.org>
In-Reply-To: <gea0gi$nq2$1@aioe.org>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 21
Message-ID: <pGHfl.161811$H12.158765@newsfe12.iad>
NNTP-Posting-Host: 24.79.146.116
X-Complaints-To: internet.abuse@sjrb.ca
X-Trace: newsfe12.iad 1233078037 24.79.146.116 (Tue, 27 Jan 2009 17:40:37 UTC)
NNTP-Posting-Date: Tue, 27 Jan 2009 17:40:37 UTC
Date: Tue, 27 Jan 2009 11:40:41 -0600
Xref: news.mathworks.com comp.soft-sys.matlab:514313


Vicky wrote:

> 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.

Are the images artificially generated? If not, if they are camera
images, then even if the objects are extremely uniform in colour
in manufacture, when you take pictures of them, due to differences
in illumination and shadows, and differences in sensitivity of
the individual CCD cells, and due to thermal noise, it is unlikely
that all pixels of the same object will have *exactly* the same RGB
triples. In order to identify areas of "the same color" you may wish
to use John d'Errico's FEX (Matlab File Exchange) contribution for
fuzzy color matching.

-- 
.signature note: I am now avoiding replying to unclear or ambiguous postings.
Please review questions before posting them. Be specific. Use examples of what you mean,
of what you don't mean. Specify boundary conditions, and data classes and value
relationships -- what if we scrambled your data or used -Inf, NaN, or complex(rand,rand)?