But there’s a second hindrance that has been growing stronger.
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:
,详情可参考快连下载安装
Саперы обезвредили взрывное устройство, найденное под автомобилем на парковке у жилого дома на юге Москвы. Их работа попала на видео, опубликованное Telegram-каналом Mash.
Владислав Китов (редактор отдела Мир)