Path: news.mathworks.com!newsfeed-00.mathworks.com!kanaga.switch.ch!switch.ch!newsfeed00.sul.t-online.de!t-online.de!news.k-dsl.de!aioe.org!not-for-mail
From: Vicky <bonsai19@gmx.de>
Newsgroups: comp.soft-sys.matlab
Subject: Re: how can I label segmented images
Date: Fri, 31 Oct 2008 15:39:13 +0100
Organization: Aioe.org NNTP Server
Lines: 28
Message-ID: <gef5ad$d9u$1@aioe.org>
References: <gea0gi$nq2$1@aioe.org> <1d3ccafc-fd44-49cc-b289-f8c5f322f641@t42g2000hsg.googlegroups.com> <geephe$5m2$1@aioe.org> <45e80e7d-08ae-4b57-b846-e656ae560989@s9g2000prm.googlegroups.com> <geevn9$s8t$1@aioe.org> <gef3t8$r8s$1@fred.mathworks.com>
NNTP-Posting-Host: cuZI2+5VfLMdq7mLsEU2FQ.user.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@aioe.org
NNTP-Posting-Date: Fri, 31 Oct 2008 14:39:09 +0000 (UTC)
X-Notice: Filtered by postfilter v. 0.7.4
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
Xref: news.mathworks.com comp.soft-sys.matlab:498270


Adam schrieb:
> Vicky <bonsai19@gmx.de> wrote in message <geevn9$s8t$1@aioe.org>...
>> Hallo ImageAnalyst,
>>
>> it's a good idea to copy each color out. Then every color get an label. 
>> The background is 0 and the colored object get the label 1. The object 
>> get the label 1 in each seperated image. If I bring the sepearted images 
>> together again (with an image addition) all the objects have the label 
>> 1. And so I can't distinguish the different colors.
>>
>> Or do I understand it wrong?
>>
>> Best regards,
>> Vicky
> 
> Just weight the layers as you add them together.
> 
> iOut = iRed + 2*iblue + 3*iGreen;
> 
> ~Adam


Hallo Adam,

thank you very much for your answer.
But I don't know what you mean. Can you axplain something more?

Vicky