Hacker News new | ask | show | jobs
by cccbbbaaa 13 days ago
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...

1 comments

I got so heavily downvoted for even daring to dream of something marginally better than the awful colour pickers and colour blending we had through that era.

I had a good read of the Ansel site, it's very thorough.

I better not share my fantasy of an alternative timeline where C exposed system ram differently to on-chip sram. Decades of different optimizations and tradeoffs might have unfolded. Don't dare to dream!