how to find the no of colors and name of the colors in an object eg: tomato

조회 수: 3 (최근 30일)
how to find the no of colors and name of the colors in an object eg: tomato
  댓글 수: 2
senthil vadivu
senthil vadivu 2017년 1월 30일
thanks.But how do I differentiate the objects with similar colors by colors only
Walter Roberson
Walter Roberson 2017년 1월 30일
So for example you would like to be able to distinguish between the aqua objects and the teal objects? Or between Dusty Rose and Orange Pink?

댓글을 달려면 로그인하십시오.

채택된 답변

Stephen23
Stephen23 2017년 1월 30일
편집: Stephen23 2017년 1월 30일

추가 답변 (1개)

Walter Roberson
Walter Roberson 2017년 1월 30일
The number of colors in a picture is usually quite large. A picture of tomato could easily use a thousand different colors. Most of them have no particular name.
I suggest that you look in the File Exchange for the fuzzy color identifier. And read https://blog.xkcd.com/2010/05/03/color-survey-results/
  댓글 수: 3
Walter Roberson
Walter Roberson 2017년 1월 30일
https://www.mathworks.com/matlabcentral/fileexchange/12326-color-name-identification--fuzzycolor
John appears to disagree in his comments
Stephen23
Stephen23 2017년 1월 30일
@Walter Roberson: In one comment, John talks about colorspaces Lab and HSV as being inappropriate to use as a color difference metric. I totally agree. That is why my FEX submission does not use them, and that is why I put in the effort to write code that does not use nonuniform spaces like HSV to match colors.
The Color Difference metrics that I do use are widely used: they are metrics specifically designed to allow perceptual differences between colors to be estimated. John does not mention anything about them at all, and his point about small changes in Lab directions having different effects on the color is exactly what these Color Difference metrics have been designed to solve.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Get Started with Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by