Path: news.mathworks.com!not-for-mail
From: "Vihang Patil" <vihang_patil@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Labeling an image
Date: Tue, 4 Mar 2008 08:30:19 +0000 (UTC)
Organization: Konem Solutions
Lines: 30
Message-ID: <fqj1ar$363$1@fred.mathworks.com>
References: <fqj0r9$qv9$1@fred.mathworks.com>
Reply-To: "Vihang Patil" <vihang_patil@yahoo.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 1204619419 3267 172.30.248.37 (4 Mar 2008 08:30:19 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 4 Mar 2008 08:30:19 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 413701
Xref: news.mathworks.com comp.soft-sys.matlab:455188


"Deo " <spliers@hotmail.com> wrote in message <fqj0r9$qv9
$1@fred.mathworks.com>...
> Hey guys
> I have a classified image and I would like to 
automatically 
> label each class with a different colour. How can I do 
it? 
> I have tried "newgrid = encodem(Z,seedmat)" but can not 
> really figure out how to set the values of seedmat and 
am 
> not really sure if thats the appropriate function.
> 
> 


Is this example useful to you?
http://www.mathworks.com/access/helpdesk/help/toolbox/image
s/index.html?/access/helpdesk/help/toolbox/images/f0-
8778.html&http://www.mathworks.com/cgi-
bin/texis/webinator/search/?
db=MSS&prox=page&rorder=750&rprox=750&rdfreq=500&rwfreq=500
&rlead=250&sufs=0&order=r&is_summary_on=1&ResultCount=10&qu
ery=pseudocolor

or 

http://tinyurl.com/yqq5p4

HTH
Vihang