Gamma Correction the Second – Compensating the Monitor Properties

You are here: Nature Science Photography – Contrast – Gamma correction


The second reason for gamma correction lies in the behavior of the cathode ray tubes in our monitors and televisions. These convert the input voltage values non-linearly into brightness values. Instead, they naturally follow a power function with gamma as an exponent, as expressed by the mathematical function below:

Formula 18

L = Luminance (brightness)
V = Voltage
ε = Coefficient for the black component
γ = Gamma

Depending on the device, the gamma value is between 2.3 and 2.6. Higher values are usually due to an incorrect brightness setting.

If we represent this behavior graphically, we get the curve A in figure 57 (Characteristic curves monitor). By sheer coincidence, it is the almost perfect mirror image of the curve in figure 20 (Estimation of the brightness on a linear scale) in the section „The minimum size of brightness differences„, thus giving the almost exact inverse function of our contrast perception. By exponentiating the input voltage value V with the function 1/gamma, we correct this nonlinearity and obtain the curve B. Combining these two curves yields a torn straight line at a 45° angle, thereby establishing the desired linear relationship between the input voltage and the perceived brightness. As we will see in the next section, this behavior is extremely useful. To ensure compatibility with the prevailing standard, more linear LCD monitors and plasma TVs emulate it.

Graph depicting perceived brightness vs. voltage values of a video signal. It includes two curves, labeled A and B, and a dashed diagonal line from the origin. Curve B lies above A, indicating different brightness responses.
Figure 57: Characteristic curves monitor


Now, when we install Photoshop and launch the small Adobe Gamma utility, it instructs us to adjust the monitor’s contrast and brightness to specific levels and evaluate various stripe patterns and color charts. For motivation, we are fobbed off with the explanation that this is necessary to calibrate the monitor and create a profile. All well and good and useful, but actually we do nothing more than adjust the monitor settings to the gamma value inherent in the device. This has nothing to do with gamma correction! When Adobe Gamma asks us to adjust the screen brightness so that we can just make out the dark square used for matching against the even darker background, we are merely bringing the black and white scale of the signal into line with the black point of the curve in order to make the best use of the available brightness range. Because if the brightness is set too high, as shown in figure 58, no signal can produce a true black and the displayed image appears without contrast. Conversely, if the brightness is set too low, as in figure 59, there is too much black in which a lot of actual useful signals are lost. In this case, the image lacks abundant details in the shadows.

Graph showing the relationship between video signal and brightness. The curve ascends steeply, with the steepest rise at higher brightness levels. A labeled sun symbol points at the curve, indicating a nonlinear relationship. A grayscale gradient is below.
Figure 58: Monitor brightness too high Here the brightness is set too high. The usable dynamic range is shifted towards white and no video signal can produce true deep black. The contrast range is thus impaired.
Graph depicting brightness against video signal. The graph shows a curved line starting low on the left, moving up to the right. Theres a sun icon with an arrow pointing downwards above the curve, indicating increasing brightness.
Figure 59: Monitor brightness too low Here the brightness is set too low. The usable dynamic range is now shifted towards black, which means that a number of video signals are cut off (clipped) to zero. Their information is lost. Here too, the dynamic range is impaired.

Next Gamma correction the third – distribution of brightness values on 8 bits

Main Contrast

Previous Gamma correction the first – distorting linearity

If you found this post useful and want to support the continuation of my writing without intrusive advertising, please consider supporting. Your assistance goes towards helping make the content on this website even better. If you’d like to make a one-time ‘tip’ and buy me a coffee, I have a Ko-Fi page. Your support means a lot. Thank you!

0 - 0

Thank You For Your Vote!

Sorry You have Already Voted!

Join the discussion

Pleased to meet you!

Since I started my first website in the year 2000, I’ve written and published ten books in the German language about photographing the amazing natural wonders of the American West, the details of our visual perception and its photography-related counterparts, and tried to shed some light on the immaterial concepts of quantum and chaos. Now all this material becomes freely accessible on this dedicated English website. I hope many of you find answers and inspiration there. My books are on www.buecherundbilder.de

If you feel that reading JCSCZEPEK.com is worth the price of a few coffees, I’d greatly appreciate your support via my Ko-Fi page. Every donation energizes me to keep the thing going.

Thank you!
Jörg

jcsczepek.com