Return to the CurtPalme.com main site CurtPalme.com Home Theater Forum
A forum with a sense of fun and community for Home Theater enthusiasts!
Products for Sale ] [ FAQ: Hooking it all up ] [ CRT Primer/FAQ ] [ Best/Worst CRT Projectors List ] [ Setup Tips & Manuals ] [ Advanced Procedures ] [ Newsletters ]

 
Forum FAQForum FAQ   SearchSearch   MemberlistMemberlist  Photo AlbumsPhoto Albums  RegisterRegister 
 MembershipClub Membership   ProfileProfile   Private MessagesPrivate Messages   Log inLog in 
Blu-ray disc release list and must-have titles. Buy the latest and best Blu-ray titles to show off in your home theater!

Colour Science: Understanding Gamma

 
Post new topic   Reply to topic   Printer-friendly view    CurtPalme.com Forum Index -> Audio & Video Calibration
View previous topic :: View next topic  
Author Message
kal
Forum Administrator



Joined: 06 Mar 2006
Posts: 17850
Location: Ottawa, Canada

TV/Projector: JVC DLA-NZ7


PostLink    Posted: Tue Jun 01, 2010 2:24 am    Post subject: Colour Science: Understanding Gamma Reply with quote


        Register to remove this ad. It's free!
Colour Science: Understanding Gamma

Display gamma is numerical expression that describes the relationship between signal input and light output of a display device. As you increase signal voltage, the traditional CRT display does not produce increases in light output in a linear way. The relationship between signal input and light output is non-linear. To correct for this, reciprocal non-linearity is applied at the production stage. This is typically referred to as camera gamma. The combination of these two opposite nonlinear luminance curves - camera gamma at the production end and display gamma at the device end - results in a linear system gamma of 1.0, which is what we want. However, when viewing material in a dim environment, it is generally thought desirable to have a system gamma that is slightly higher: somewhere between 1.1 and 1.2 is most often quoted figure.

Assuming a Rec. 709 camera encode gamma of 0.51, this means that display gamma should be in the 2.2-2.35 range, but what does this mean? For an idea of what different display gammas provide, see the chart below.



These numbers are calculated by using a standard power law. Quite simply, the output at any given level is just that percentage of 100% video that is the level of input to the power of the gamma used. For example, if we assume a 2.2 gamma, then an 80% input results in an output that is 61.21% of 100% luminance, or 0.8^2.2. So to calculate the desired level of output at any level of input, all you need to know is the luminance at 100% and the desired gamma.



As you can see, the various gammas all begin and end with a one-to-one relationship between signal input and light output. Zero input produces zero output (actually, because of the display's residual black level it is really just the minimum amount of light the display produces, not literally zero) and maximum input produces maximum output. This is as you would expect. However, the precise relationship between input and output as you gradually increase input from 0% and above is not linear, as shown above, and it varies depending on gamma.

A display with lower gamma increases its light output more quickly as you increase the signal input. If you look at the 10% input, you will see that a 2.8 gamma produces only 16% of the light output of 2.0 gamma. This is obviously an enormous difference. The difference becomes increasingly less significant as the level of input rises, so that at 80% input a display with a 2.8 gamma produces nearly 84% of the output of a display with 2.0 gamma, which would be barely noticeable.

For this reason, the primary effect of system gamma on image quality will be with shadow detail and black levels. If the gamma is too low you will achieve great shadow detail but your black levels will be noticeably elevated and contrast will suffer. If you raise gamma too high then you will create deep, dark blacks but with compromised shadow detail.

Setting gamma correctly

There are several myths about how to properly set gamma. For example, Rec. 709 - the high definition standard - includes an encoding specification, but no decoding specification, so it provides no help in setting display gamma properly.

sRGB - the standard for computer monitors and which incidentally includes exactly the same gamut and white point as Rec. 709 - does have a complete gamma specification. It is sometimes claimed that sRGB recommends a display gamma of 2.2 or 2.22. This is not quite correct. Although the sRGB display gamma is on average near 2.2, it actually recommends a higher gamma at the top end of the video range and a much lower gamma at the bottom of the video range. In general, this is a good approach, but sRGB is intended for viewing conditions that are considerably brighter than what one experiences in the typical home theater environment where lighting tends to be low or even completely dark.

Others argue that one should use a display gamma of 2.4, especially if one has a high contrast display. This stems partially from the fact that Rec. 709 implies a 2.4 display gamma and many professional studio environments reportedly use 2.4 when mastering content for Blu-ray release. This is also not quite true. Calibrating a display to a straight power curve of 2.4 will only result in substantially reduced shadow detail and an unnatural "contrasty" quality to the image.

The correct approach is suggested by the sRGB standard and has fairly recently been codified in a new gamma specification called BT.1886, which uses 2.4 as a starting point but adjusts the overall response curve depending on the black level and white level of the display. Like sRGB, BT.1886 recommends a gamma response that is higher at the top end than at the low end. A straight power curve of 2.4 is correct only if the display has a zero black level and an infinite contrast ratio, which no real-world display has. The full BT.1886 specification is complex and its precise recommendations vary depending upon the white level, and especially the black level, of the display. However, if you don't want to bother with a precise BT.1886 calculation, white/black values of 120/0.03 cd/m2 serve as a good rule of thumb. This results in a gamma response between 2.3-2.4 at the top end and 2.2-2.1 on the low end.



There are several points to keep in mind about gamma:

- The gamma of your display should be either a straight 2.22, sRGB, or BT.1886. BT.1886 is the preferred standard.

- The gamma of red, green, and blue, should all be the same. If they are different, then you will have a problem with grayscale tracking. In fact, grayscale tracking and RGB gamma are essentially the same.

- Do not use the contrast and brightness controls to affect gamma. Use a pluge pattern to set brightness and a white pluge along with white balance and total output measurements to set contrast.

- Because of gamma, 50% input does not produce a 50% output. To get 50% output, you need a signal input of between 70-80%. Conversely, with a typical display 50% input produces only about an 18% output.

- Getting gamma is important not only to achieve a balance between shadow detail and high contrast. A good gamma response will help to provide the image with great depth and realism.

To order ChromaPure software & meter packages at CurtPalme.com exclusive prices, see our ChromaPure order page. Same product, same support - just more money in your pocket at the end of the day!


_________________

Support our site by using our affiliate links. We thank you!
My basement/HT/bar/brewery build 2.0


Last edited by kal on Fri Jan 15, 2021 2:59 pm; edited 1 time in total
Back to top
View user's photo album (18 photos)
kal
Forum Administrator



Joined: 06 Mar 2006
Posts: 17850
Location: Ottawa, Canada

TV/Projector: JVC DLA-NZ7


PostLink    Posted: Tue Oct 08, 2013 11:45 pm    Post subject: Reply with quote

UPDATE:

Added additional material about BT.1886 and clearing up some myths. This color science article was hopelessly out of date and should have been updated some time ago.

Kal

_________________

Support our site by using our affiliate links. We thank you!
My basement/HT/bar/brewery build 2.0
Back to top
View user's photo album (18 photos)
garyfritz




Joined: 08 Apr 2006
Posts: 12024
Location: Fort Collins, CO


PostLink    Posted: Wed Oct 09, 2013 1:46 am    Post subject: Reply with quote

kal wrote:
This color science article was hopelessly out of date

"color" ?? What's that, Kal? Some pretty odd spelling there... Laughing
Back to top
kal
Forum Administrator



Joined: 06 Mar 2006
Posts: 17850
Location: Ottawa, Canada

TV/Projector: JVC DLA-NZ7


PostLink    Posted: Wed Oct 09, 2013 2:01 am    Post subject: Reply with quote

Tomato / Tomahto.... color / colour. Wink

Kal

_________________

Support our site by using our affiliate links. We thank you!
My basement/HT/bar/brewery build 2.0
Back to top
View user's photo album (18 photos)
Display posts from previous:   
Post new topic   Reply to topic   Printer-friendly view    CurtPalme.com Forum Index -> Audio & Video Calibration All times are GMT
Page 1 of 1
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum