|
|||
Linux System Gamma Calibration |
Home | John | Connie | Publications | Software | Correspondence | NtropiX | NdustriX | NformatiX | NdeX | Thanks
Electronic display devices-things like computer terminals, television sets, printers, and cameras-do not respond to, (or produce,) light intensity linearly; they are designed intentionally that way. The dominate standard for how display devices produce light intensity is the NTSC specification which requires a gamma of 2.2 to be used in US television receivers. A gamma of 2.2 means that if the transmitted signal increases by a factor of two, the corresponding light intensity on the television CRT increases by 2^2.2, which is a factor of about 4.6. A gamma of 2.2 has also been adopted by the World Wide Web Consortium as a standard, sRGB, for Internet browsers. Note: there is an addendum, ViewSonic VA503b Gamma Calibration, that uses the techniques outlined here for LCD computer monitors. Unfortunately, not all manufactures subscribe to the standards. For example, a gamma of 1.8 is often used in printers, (since that was the gamma used in the original Apple Macintosh/LaserJet combination,) and other companies, like Silicon Graphics, have their own gamma standard, (a gamma of 1.6 is used in Silicon Graphics' terminals.) Additionally, the European standard for television receivers is a gamma of 2.9, and many monitors use this value to increase depth of color. Note that as long as gamma is consistent for all display devices, (for example, Apple uses a gamma of 1.8 on their display, and on the LaserJet printer, both,) all will exhibit the same response to light intensity. But there are compounding issues-most electronic printers have programmable gamma settings, (so one could, in principle, do artwork on a Silicon Graphics machine, and print it on an Apple/LaserJet printer, for example.) However, printer paper alters the printer's gamma; not to mention that most digital cameras have programmable gamma settings, too, as do almost all electronic display devices. I will demonstrate a calibration proceedure for system gamma, (system gamma means that all devices-printer, terminal, camera, etc.,) have the same gamma. The proceedure will calibrate the monitor first, and then use that as the standard for calibrating other devices. Monitor Gamma CalibrationFirst point your browser at Norman Koren's excellent gamma page, and about half way down the page is a gamma chart. Make sure the room in which you are working has minimal light, and it comes from behind the screen to avoid reflections. Turn the intensity on your monitor to maximum, and set the degrees Kelvin to 6500K. Adjust the brightness on the monitor until you can just see the left hand vertical bar at the bottom, (the one labeled "A",) and the right hand bar, (the one labeled "B",) should be visible from the bottom to about half way up the chart. Absolute black on your monitor is now calibrated. Now adjust the gamma of your monitor such that the shade of gray completely across the "Gamma" column is the same at 2.2. You can use Adobe Photo Shop to adjust the gamma, or xgamma under X Windows on Unix/Linux systems. As an example, on my monitor, an NEC AccuSync 70, running Linux, I have to use "xgamma -gamma 1.3" for correct gamma calibration. The monitor is now calibrated, and will be used as a refererence standard for other devices-a digital camera and a printer will serve as examples. For these, you will need another gamma chart, gamma.png.Z, or you can use my copy: and save it. Digital Camera Gamma CalibrationI will use a FujiFilm FinePIX A205 for demonstration
purposes. Darken the room, and take a picture-without flash-of
the file used The Gimp to display
the Printer Gamma CalibrationThe same technique used in calibrating the camera will be
used to calibrate the printer. Make sure your print software
will print ".png" files to your printer, (CUPS certainly does,) and
print the was made with the A205. Display the downloaded picture on the calibrated monitor. Note that this is a complete system check: printed output to camera to display. They should all have a gamma of 2.2. For the 780 I have to adjust gamma to accomodate different printing paper types. I personally use The Gimp for that. Here are the equations I use to calibrate the printer for different paper reflectivities. Let
and taking the log of both sides:
and reducing:
or:
and if:
then:
On the Epson 780 Photo Stylus printer, printing on photo
copier stock, the gamma correction,
However, The Gimp print routines have a paper/media
selection, which further complicates the issue. The "Epson
Professional Glossy Paper" S041286 and a Gimp Media Type:
Epson Professional Glossy Paper requires a Gimp print gamma of
a little more than 0.818 for the final print to have a gamma
of 2.2 on the Epson Stylus Photo 780; for Epson "Glossy Photo
Paper" S041141 and a Gimp Media Type: Photo Paper, the Gimp
print gamma was also about 0.818 for a final print gamma of
2.2; likewise for inexpensive photocopier paper, and a Gimp
Media Type: Plain Paper, the required Gimp print gamma was
0.818 for a print gamma of 2.2. (Note: the default printer
gamma for the Epson Stylus Photo 780 is 1.8; the Gimp printer
gamma of 0.818 alters the overall print gamma to
It is actually fairly easy to keep everything in
calibration, if the last thing you do before downloading a lot
of files out of the camera is to shoot a screen shot of the
file LicenseA license is hereby granted to reproduce this software for personal, non-commercial use. THIS PROGRAM IS PROVIDED "AS IS". THE AUTHOR PROVIDES NO WARRANTIES WHATSOEVER, EXPRESSED OR IMPLIED, INCLUDING WARRANTIES OF MERCHANTABILITY, TITLE, OR FITNESS FOR ANY PARTICULAR PURPOSE. THE AUTHOR DOES NOT WARRANT THAT USE OF THIS PROGRAM DOES NOT INFRINGE THE INTELLECTUAL PROPERTY RIGHTS OF ANY THIRD PARTY IN ANY COUNTRY. So there. Copyright © 1992-2009, John Conover, All Rights Reserved. Comments and/or problem reports should be addressed to:
|
Home | John | Connie | Publications | Software | Correspondence | NtropiX | NdustriX | NformatiX | NdeX | Thanks