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:
Girl died from sepsis after GP sent her home twice
。业内人士推荐服务器推荐作为进阶阅读
5年过渡期里,总书记多次走进山野田间,为乡村特色产业的发展壮大指明方向:
Japan will deploy missiles to a tiny island near Taiwan within five years, its defence minister has said, in a move that is likely to inflame tensions with China.