gammakorrektiot
Gamma correction, also known as gamma encoding or gamma compression, is a non-linear operation used in image processing and video systems to encode and decode luminance or tristimulus values. It is applied to ensure that the brightness of an image appears consistent across different displays and viewing conditions.
The term "gamma" comes from the exponent in the power-law function used to represent this correction: $V_{out}
Historically, cathode ray tube (CRT) displays exhibited a non-linear response to the input voltage, where the
Modern displays, such as LCD and OLED, do not inherently have this CRT-like gamma response. However, the