Hacker News new | ask | show | jobs
by Luke2642 19 days ago
I dream of a parallel timeline when OKLAB became the standard colourspace in 1980! It's a very colourful dream, the lightness stays consistent as the hues change, and colour interpolation just works!
3 comments

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...

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!

Oklab/oklch is good for consistent luminance across hue, but the real world gamut is so limited - our display / print tech is always able to make green/yellow far brighter than red/blue, for any given tech - it can be a little frustrating to use.
Humans are too flawed with colour perception. I wish color were 2D, but much like music, it depends on what notes you play.

It’s bad enough that monitors do not produce colour accuracy, or to the full gamut.

Honestly, it’s the one thing Apple got right. Everyone in the creative industry runs Apple, and Apple had a consistency with color. Good luck getting your stuff approved if you produced it on Windows.

Expecting a full gamut is unreasonable when you consider what it would mean: huge brightness for blue and red, artificial limiting of green.

Our eyes are simply more sensitive to yellowish green. Any reasonable tech will have a gamut that is tented towards green.

A full gamut isn't unreasonable because of that. A full gamut is unreasonable because you'd need a larger number of subpixels to make that work. If you look at a CIE 1931 chromaticity diagram, no matter where you place your 3 points for 3 subpixels you will be unable to cover the full gamut. BT 2020 is basically an attempt at covering as much as possible and you can still see it misses huge amounts of visible colors. A wider gamut at that point requires additional color subpixels so it's no longer a triangle.

And at least with current technology we are not at a point where sacrificing resolution or brightness for more coverage of the green end of the gamut is a wortwhile tradeoff.

We just need to invent red LEDs that can go negative and we'll basically fill out the gamut.

> And at least with current technology we are not at a point where sacrificing resolution or brightness for more coverage of the green end of the gamut is a wortwhile tradeoff.

I disagree there, we have a lot of very bright screens that could take the hit. And it's not just the green zone, replacing blue with azure and violet would allow a big expansion of possible saturated colors.