logoalt Hacker News

cccbbbaaa • today at 9:49 AM • 0 replies • view on HN

When it comes to colour spaces, there is no “one size fits all”. Perceptual colour spaces are good for, well, perceptual transformations, but many transformations ought to be done in a linear colour space, eg. exposure, color calibration and white balance adjustment, etc. This is how darktable operates (everything before the tonemapper is done in a linear colour space, everything after is done in a perceptual colour space such as JzAzBz or DT UCS 2022 [0], the latter being based on OKLab). Experience has shown that choices made when designing a perceptual colour space can lead to subtle issues [1]. (JzAzBz has its own issues for such transformations, such as not modelling the Helmholtz-Kohlrausch effect [2].)

[0] https://eng.aurelienpierre.com/2022/02/color-saturation-cont...

[1] https://ansel.photos/en/news/color-controls-finally-correct/... (Issue caused by the DT UCS 2022 colour space, which is based on OKLab.)

[2] https://en.wikipedia.org/wiki/Helmholtz%E2%80%93Kohlrausch_e...