3 ms·
for lot of image processing linearizing srgb is only half-way measure, and you might want to reach for a better colorspace altogether. cielab is obvious example
by zokier 3mo ago
for lot of image processing linearizing srgb is only half-way measure, and you might want to reach for a better colorspace altogether. cielab is obvious example, or maybe oklab/jzazbz/xyb/something else.
- raphlinus 3mo agoExactly this, there's rarely a single "correct" colorspace, you make a choice based on expressive goals and constraints. For example, for gradients you almost never want linear, something like Oklab is indeed much better. The gradient examples between high-chroma colors of similar luminance are highly misleading in my opinion. In that particular case, linear just happens to do well (and device RGB of course poorly), but in other cases linear is not great. For example, blue to white is especially bad, with hue shifts as well as lightness non-uniformity. You can experiment with this in the interactive tester in my Oklab review[1]. [1]: https://raphlinus.github.io/color/2021/01/18/oklab-critique.html https://raphlinus.github.io/color/2021/01/18/oklab-critique....
- leni536 3mo agoDepends. Many times a linear colorspace is exactly what you want.
- Espressosaurus 3mo agoLinear light, or linear perceptual?
- leni536 3mo agoLinear light (if that really is a term of art).