Clear Filters
Clear Filters

how to recognize 10 different colors

3 views (last 30 days)
I need recognize 10 different colors of transistor. It has 10 colors: Black, Brown, Red, Orange,Yellow, Green, Blue, Violet, Grey, White. I don't know how I recognize 10 colors. I compare value R, G,B for recognize but It's not optimal. Everybody help me! Thanks!
  2 Comments
KSSV
KSSV on 21 Sep 2016
How you have the data/ colors?
An Hoang
An Hoang on 22 Sep 2016
<<
>>I used function imtool() for data/colors, I see value R, G, B and I write function If for recognize color. But it's not optimal. Can you help me!

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 21 Sep 2016
  2 Comments
Walter Roberson
Walter Roberson on 22 Sep 2016
https://www.mathworks.com/matlabcentral/answers/56300-colour-segmentation-on-resistor-color-band-and-calculate-the-value

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!