how to recognize 10 different colors

3 次查看(过去 30 天)
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 个评论
KSSV
KSSV 2016-9-21
How you have the data/ colors?
An Hoang
An Hoang 2016-9-22
<<
>>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!

请先登录,再进行评论。

采纳的回答

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

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Modify Image Colors 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by