Calculate how humans perceive similarity between different colours

前端 未结 3 1165
伪装坚强ぢ
伪装坚强ぢ 2020-12-10 05:41

I\'m working on a site where users can describe a physical object using (amongst many other things) any color in the rgb 0-255 range. We offer some simplified palettes for e

相关标签:
3条回答
  • 2020-12-10 05:58

    There are a half dozen or so possibilities. EasyRGB has a page devoted to them. Of those listed, DeltaE 2000 probably has the best correlation with human perception -- and is also extremely complex to compute. Delta CMC is almost as good for something like half the code (though the computation still isn't entirely trivial).

    0 讨论(0)
  • 2020-12-10 06:01

    This sounds like a prime example for a neural net based approach (if you are in an experimenting mode :) because it's about creating a decision rule that mimics Human perception. A neural net that has six inputs (r, r', g, g', b, b') and one output (is_similar) can be easily trained by using e.g. your own perception of similarity as the training source!

    0 讨论(0)
  • 2020-12-10 06:06

    I'm not 100% clear on how your problem is set up, but you may want to read up on: Normalized Cross Correlation, and Lab and CIEXYZ color spaces.

    0 讨论(0)
提交回复
热议问题