Jun 13, 2009
Gamma Correction
There’s a posting on TUAW about how to set your display’s gamma in OSX Leopard to match Snow Leopard’s. It describes in detail how to go about doing it without actually telling you what you’re messing with. It’s a concept that isn’t Mac-specific, though.
When I was working at an animation studio back in the late 90s, I was introduced to the avuncular Charles Poynton who has made a career out of sitting on panels, making recommendations to technical boards and writing books on video, color and especially gamma. I took a course from Charles along with some colleagues because we needed to implement color correction and set a mutual standard across our studios around the world. So knowing what it was we were trying to achieve was somewhat key. We had digital ink and paint and compositing people on SGIs, color artists on Macs, a renegade CGI team that switched from Maya to 3D Studio Max and then editors on Macs in Avid but did their viewing through expensive Sony Evergreen reference monitors. Finally, an art director who looked at the work on all of these systems and wondered why everything looked different. The majority of people don’t need to ever concern themselves with this stuff and should probably just move on.
The term gamma (more accurately, “gamma correction”) is thrown around loosely by a lot of people without much knowledge or theory behind it. It’s not something that should be common knowledge (sorry Charles) but the way it’s bandied you’d think everyone is an expert (for the record: I’m not); it’s actually pretty boring and somewhat arcane. Boring and arcane because there’s a bit of math underneath involving fractional exponents which often terrifies anyone who hasn’t done A-levels or SATs (or whatever your region inflicts on you to make you to learn algebra).
Specifically, gamma proper, historically refers to the exponent of the power function relationship between the CRT electron gun voltage and the intensity of the phospor output. Blah blah blah. In simplified terms, it’s pretty much:
intensity = voltageγ
I say “historical” because the distinction of what it actually represents is blurred by a lot of factors (not the least of which being the introduction of LCD and plasma displays and a myriad of high definition standards). However, gamma correction is loosely defined as an inverse function (i.e. voltage = intensity(1/γ)) which would theoretically correct for this, perceptually, to get your display to output what you intended. Poyton writes:
NTSC historically specified gamma as the value 1/2.2 or about 0.4545. More modern video standards, including Rec. 709 for HDTV, call for the value 0.45 or about 1/2.2222.
This is telling, because it underscores several things you need to keep in mind before creating new color profiles and “Snow Leopard-ing” your gamma.
- the 2.2 number comes from an NTSC standard (1.8 is the traditional Mac number)
- newer standards for video specify different values of this number, i.e. if you’re not doing video, is there really a point in blazing out your display? Do you really want your display to look like a TV?
If you’re doing graphic work, say for print, web or film you really need to know what you’re output media’s visual characteristics are before changing from any defaults. Keep in mind that some systems try to take into account source color profiles and do their own correction along the way (often not correctly…but that’s another story). Some software, like Photoshop, can take advantage of this and embed a color profile of your monitor in the image file. This may or may not yield the desired results if you, say, send it to a printer.
Also, none of this talk addresses other display systems, such as LCD monitors, projectors, etc. It also doesn’t address the fact that (a) not all CRTs are created equal (there are manufacturing variances), and (b) even if they were, they don’t all degrade the same way: it’s a moving target.
Finally, it doesn’t address the seldom discussed problem that if you sit too close and stare at a 2.2-gamma display, you’ll go blind. It’s a scientific fact.
There’s more great stuff on Poyton’s site: it’s more than just Macs and gamma but a bit of color theory as well.