3 ms·
Intuitively I would guess that this could profit from using a more sophisticated color difference function [1] which accounts for human color perception better
by danbruc 7y ago
Intuitively I would guess that this could profit from using a more sophisticated color difference function [1] which accounts for human color perception better than simply RGB component differences. And even if one uses RGB components, making sure that gamma correction is handled properly might make a noticeable difference.
[1] https://en.wikipedia.org/wiki/Color_difference https://en.wikipedia.org/wiki/Color_difference
- akdas 7y agoYou're absolutely right that RGB differences are not very meaningful to humans. I chose to stick with the easiest approach for educational purposes, but I'd love to hear if anyone tries out a different color difference function. Note that the authors tried other types of energy functions in their original papers, ones that didn't simply use color differences. No one energy function seemed to be perfect across a variety of images.
- jerluc 7y agoCompletely agree with this. In my experience, LAB space really makes an observable difference in perception-based applications, as compared to the mostly arbitrary RGB cube space.
- pornel 7y agoRGB values in images are de-facto sRGB, which is reasonably close to human perception (sRGB gamma curve is close to Munsell lightness curve). In this case applying gamma correction to compute the color difference in linear light would make things worse, as it'd model physical properties of the light, rather than human perception.