Rules | Recent posts | topic RSS | Search | Register  | Log in

color detection

 
Post new topic  Reply to topic    EDAboard.com Forum Index -> Software Problems, Hints and Reviews
Author Message
zelsenussi



Joined: 28 Jun 2008
Posts: 16


Post26 Jul 2008 19:28   color detection

how could i make color detection using matlab?
Back to top
SHB



Joined: 07 Jul 2006
Posts: 13
Helped: 1
Location: Islamabad/Pakistan


Post09 Aug 2008 18:56   color detection

try using image processing toolbox of matlab.
Back to top
manish12



Joined: 21 Nov 2006
Posts: 956
Helped: 29


Post10 Aug 2008 3:17   Re: color detection

what specific color you want to detect .

basically
any color is combination of three that is r g b

for ex for dark black r =0 , g= 0 , b =0

ad for white r =255 , g= 255 , b =255

smiler you can find any color from image !

there is no need of toolbox.

for getting r g b folloing is the matlab code which i generally use

Quote:

A = imread('test3.jpg');
r = A(:,:,1);
g = A(:,:,2);
b = A(:,:,3);
Back to top
Post new topic  Reply to topic    EDAboard.com Forum Index -> Software Problems, Hints and Reviews
Page 1 of 1 All times are GMT + 1 Hour


Abuse
Administrator
Moderators
topic RSS 
sitemap