Gamma Correct Blurring (2015)
iquilezles.org·1d·
Discuss: Hacker News
Flag this post

One mistake most of us have done at some point or another, is to perform an image blurring, or downsampling on photographs, or a color gradient interpolation, without taking gamma or sRGB encoding into account (two different things, but similar enough in practice for the purposes of this article). Photographs are encoded in sRGB color space, which is the space used at display time, and which favors image compression/quality. This is different from the color space on which the real works and the objects in the photograph operate in, which is an energy-linear color space. And that difference of spaces can create problems when processing images and colors. Sometimes. And the fact that it only gives trouble sometimes makes it difficult to detect when you are a beginner, or even for deca…

Similar Posts

Loading similar posts...