The RGB values stored in digital images are not a linear representation of light intensity. They are gamma-encoded — compressed through a power curve — to match the non-linear sensitivity of human vision and to make more efficient use of limited bit depth. Before performing any mathematically correct color operation, you must reverse this encoding through gamma expansion.
Loading...
