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:
▲ 图片来自微博 @数码闲聊站
,更多细节参见服务器推荐
“一些边缘户本来就晃晃悠悠,稍遇到点风险变故马上就可能致贫”,习近平总书记语重心长。
圖像來源,Getty Images
give the same smug lectures about "safety" we have all heard dozens of times before