How to get the wavelength of a pixel using RGB?

前端 未结 4 1973
深忆病人
深忆病人 2020-12-06 01:06

I have a project that would classify the color of a pixel. Whether it is red,violet, orange or simply any color in the color wheel. I know that there are over 16 million col

4条回答
  •  悲哀的现实
    2020-12-06 01:33

    http://en.wikipedia.org/wiki/Visible_spectrum

    It is possible. See above. Gray background apparently makes it easier. You might get something like that on your own, and even improve on it. But to do it accurately will cost major dollars. U will need a colorimetry expert, a calibrated monitor and viewing environment (since what the dominant wavelength of your pixel is just means what monochromatic wavelength it approximates on your calibrated monitor in your calibrated viewing environment). All this will be a few thousand dollars. The work done at the above link, shown on wikipedia, does not seem that accurate but it is probably what you want.

提交回复
热议问题