Using LPROF to profile monitors
This article will explain the concept of monitor calibration and profiling. It explains the building of lprof color profiler from the provided PKGBUILD, and its use in profiling your monitor.
- 1 Before you read
- 2 About monitor calibration
- 3 Building lprof
- 4 Calibrating the monitor
- 5 Where to save profiles
- 6 Monitor phosphor characteristics
- 7 See also
Before you read
Monitor calibration is an essential step in accurate color rendering. DTP software such as Scribus makes use of monitor ICC profile to display color accurately and enable preview of publication's colors as they would appear on a printed copy.
For general use (such as watching videos, viewing family photos, etc) monitor calibration is not necessary. This article is intended for DTP and pre-press professionals who need accurate color reproduction.
About LCD monitors
LCD monitors require a different approach to monitor profiling. They are not covered in this article, because the original author had no access to such devices.
When to calibrate monitors
Some people may say any time is a good time. But to do it correctly, weather is the primary concern. Yes, the weather. 6500K daylight color temperature (standard in DTP and pre-press) is not some arbitrary temperature (you do not really have to know what that means, really). It is the temperature of white on a sunny day at noon. What that means is that we need a sunny day, and around noon to profile our monitor properly. This advice comes from seasoned image editing technicians, so take it and you will be happy. :)
About monitor calibration
Monitor calibration is carried out in three simple steps.
- set monitor's black point by adjusting brightness control
- set monitor's color temperature
- profile monitor using a profiling tool
But before you do that, we will discuss some terms that will be used in this article.
Black point of the monitor is the black that is displayed when the device gets no input from the graphic card. If you display an image that has RGB values of 0, 0, 0, then you will be able to 'see' the monitor's black point.
Color (white) temperature
Also referred to as the white point, this is the color temperature of the white. The higher the temperature, the cooler the white (which runs contrary to our notion of hot and cold), and vice versa. For DTP and pre-press, the standard white point is 6500K.
The factory default of most monitors sets the white point at 9300K. This is too cool for DTP. On some monitor makes and models, there are advanced controls for fine-tuning the white point.
What people usually refer to as brightness is actually a control that shifts the black point. By shifting the black point, one gets the impression that the picture is becoming brighter or darker. What actually happens is that the black point gets moved, so the pure black also gets brighter or darker.
Contrast control adjusts the distance of white (RGB = 255, 255, 255) to black (RGB = 0, 0, 0) point. The black point is not changed while the white point becomes brighter or darker effectively expanding or compressing the range of brightness values that can be reproduced. For monitor calibration purposes, this value should always be the maximum available on a device.
The phosphors, or primaries as they are often called, are three sets of values (two numbers each). Some manufacturers publish data on phosphor values in user manuals, but this is not true in most cases. Using specialized software, or web search engines is the most common method of getting this information.
Install Arch User Repository.AUR, which is available in the
Calibrating the monitor
Before you start lprof (or any other calibration/profiling tool) there are some steps must can carry out that do not require any software.
Adjust the lighting in the room to what you will be using when working. Even if your screen is coated with an anti-reflective coating, you should avoid light falling directly on it. Let your monitor warm up for at least an hour for the image to get stabilized. It is not uncommon for Linux to be kept up 24/7 without shutting down, so you may consider that unless you hate the noise and/or light. That way, monitor will be always on (and your unpaid electric bills will quickly block your doorway),
- Set contrast (usually a control with half-black-half-white circle) to maximum. If you find you cannot tolerate the bright highlights, you may lower contrast a little. The higher the better.
- Next, display a pure black over entire screen. You can do this by creating a small black PNG image (all pixels have RGB = 0, 0, 0). Open it up in Gwenview[dead link 2020-04-03 ⓘ] (you can install it along with KDE) or any other picture viewer that is capable of displaying an image in full-screen mode without any controls.
- Reduce the vertical size of the picture (not the PNG image displayed by a picture viewer but the whole of what's displayed on the screen) to something around 60% or 70% of the full height. What is revealed above and below the picture is called a non-scanned area, and since that are is not receiving any voltage, it is the blackest of black your monitor is capable of displaying.
- Locate the brightness control (usually a sun, circle with rays projecting from it's edges) and lower the value until the black image matches the non-scanned area.
Setting the color temperature
As we said in the introduction, setting color temperature must occur at noon. If you only have fixed factory default color temperature, you do not really need to wait for the sunny day to come. Just set it to 6500K.
Place your monitor so that you can see outside the window and your screen at the same time. For this step, you also need to create a white square image (RGB = 255, 255, 255), roughly 10 by 10 centimeters (4 by 3 inches). Using the same Gwenview technique as with brightness/contrast, display the white square on a pure black background.
- First, prepare your eyes by staring at the outside world for a while. Let them adjust to the daylight viewing condition for a few minutes.
- Glance at the monitor, and the white square for a few second (it has to be short, because eyes will readjust quickly).
- If the square seems yellowish, you need higher color temperature, or if it has a blueish cast, the temperature needs to be lowered.
- Keep glancing, looking out the window, and adjusting the white temperature, until the square looks pure white
Take your time with the steps described above. It is essential to get it right.
Profiling the monitor
Start lprof. You will be presented by a fairly large window with multiple tabs on the right.
- Click on the Monitor Profiler tab. Then click on the large Enter monitor values >> button.
- White point should be set to 6500K (daylight).
- Primaries should be set to either SMPTE RP145-1994, or EBU Tech.3213-E or P22, or whatever appropriate values for your monitor. If you come across correct values for your monitor, enter those by selecting User Defined from the drop-down. If in doubt, you may use P22 for all monitors with Trinitron CRTs (in this case, Trinitron is not related to Sony Trinitron mointors and TVs), and SMPTE RP145-1994 for other CRTs.
- Click the Set Gamma and Black Point button.
- You will now see a full-screen view of two charts with some controls at the bottom.
- Uncheck the Link channels check-box and adjust individual Red, Green, and Blue gamma by either moving the slider left or right, or by entering and changing values in the three boxes to the left. The goal is to make the chart on the left (the smaller square one) flat. When you are satisfied with how it looks, check the Link channels check-box and adjust the gamma again.
- When you are done, click OK. Click OK again.
When you are finished entering monitor values, you might want to enter some information about the monitor. This is not mandatory, but it is always nice to know what profile is for what.
- Click Profile identification button.
- Fill in the data.
- Click OK to finish.
After you are all done, click on the '...' button next to Output Profile File box. Enter the name of your profile: somemonitor.icc. Click Create Profile button, and you are done.
Where to save profiles
You can save your created profiles anywhere you want, but the common locations for color profiles are:
/usr/share/color/icc(used by Scribus and Separate plugin for The GIMP)
/usr/lib/scribus/profiles(used by Scribus)
~/.color/icc(used by Scribus)
None of the locations seem to be standard. It is recommended that you put your profiles in /usr/share/color/icc, and keep copies in a non-hidden directory in your home directory.
Monitor phosphor characteristics
|make/model||monitor type||phosphor type||RED||GREEN||BLUE|
|DELL P1110||CRT||P22||0.625 / 0.34||0.28 / 0.595||0.155 / 0.07|
- Information on CRT (Wikipedia)
- International Color Consortium (ICC home page)
- A completely different view on image processing (Accurate Image Manipulation)
- About color management (Wikipedia)
- Introduction to ICC color profile format (ICC home page)