Path: news.mathworks.com!not-for-mail
From: "Vihang Patil" <vihang_patil@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: machine vision-Color Matching
Date: Wed, 27 Feb 2008 16:30:26 +0000 (UTC)
Organization: Konem Solutions
Lines: 43
Message-ID: <fq4372$hem$1@fred.mathworks.com>
References: <fpgn52$9ij$1@fred.mathworks.com> <fpjlk1$3ho$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 1204129826 17878 172.30.248.37 (27 Feb 2008 16:30:26 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 27 Feb 2008 16:30:26 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 413701
Xref: news.mathworks.com comp.soft-sys.matlab:454054


"John D'Errico" <woodchips@rochester.rr.com> wrote in 
message <fpjlk1$3ho$1@fred.mathworks.com>...


> Try changing the blue pixel a bit.
> 
> [iscolor,cn] = fuzzycolor([60 100 220]/255,'all');cn{find
(iscolor)}
> ans =
> blue
> 
> Still blue, no problems. Find fuzzycolor on
> the file exchange.
> 
> 
http://www.mathworks.com/matlabcentral/fileexchange/loadFil
e.do?
> objectId=12326&objectType=FILE
> 
> HTH,
> John

Hello John
I tried your fuzzycolor, its good, but I think it requires 
a lot of tweaking too
for example
[iscolor,cn] = fuzzycolor([88 110 255]/255,'all');cn{find
(iscolor)}

I get no color whereas it is very much blue to me, which 
you can see from the code below. 

new = im2uint8(ones([128 128 3]));
new(:,:,1) = 88;
new(:,:,2) = 110;
new(:,:,3) = 255;
figure,imshow(new);

I think I will need to add this into the fuzzycolor's 
database. I am still working on it. Probably you can 
through more insight on it.

Vihang