Most digital images intended for viewing are generally assumed to be in sRGB colour space, which is gamma-encoded. This means that a linear increase of value in colour space does not correspond to a linear increase in actual physical light intensity, instead following more of a curve. If we want to mathematically operate on colour values in a physically accurate way, we must first convert them to linear space by applying gamma decompression. After processing, gamma compression should be reapplied before display. The following C code demonstrates how to do so following the sRGB standard:
Follow topics & set alerts with myFT
。业内人士推荐服务器推荐作为进阶阅读
Раскрыты подробности похищения ребенка в Смоленске09:27。业内人士推荐同城约会作为进阶阅读
Source: Computational Materials Science, Volume 267
Москвичей предупредили о резком похолодании09:45