Character Contrast

It is extremely difficult to accurately measure the contrast of a dark character on a light display. This article describes various ways to approach this problem.

by Edward F. Kelley

MEASURING THE CONTRAST of a dark character on a light display surface is one of the most difficult measurement results to obtain with accuracy. It is even more difficult when the display is subjected to ambient lighting conditions. With some display technologies, the full-screen contrast (sequential contrast) can be indicative of the contrast obtained when measuring small groups of pixels or even single-pixel character strokes. In general, however, that will not be the case because of light scattering within the display surface and any electronic irregularities that reduce contrast on a pixel scale. We are concerned here with an accurate measurement of the contrast regardless of how well the eye can see the contrast that we measure. Vision models can be applied after we attempt an accurate measurement.Of course, it is assumed that the development of the appropriate vision models dealing with such detail contrasts properly accounted for scattered light in the detection systems employed, should that have been necessary.

Veiling glare is the problem. Light from the bright areas can scatter within the detector and contaminate the dark areas. The scattering can occur between the lens elements or off their edges, off other objects such as apertures and shutters, and off any interior surfaces. The reason for the adjective "veiling" is that this type of glare tends to be uniformly present, and often the user of the detector cannot see the contamination. When such scattering in the detector is extreme, it manifests itself as patterns of rings, spikes, and disks that are often called lens flare, which can be a useful artistic artifact to indicate a bright source of light in photography and videography.

However, for making accurate measurements, veiling glare is a serious problem. Often it is a much more important factor than one would think. For example, in the use of an array camera with a charge-coupled-device (CCD) or complementary-metal-oxide-semiconductor (CMOS) detection array, contamination of a small black area on a white screen can be well over 1000%!2 Is this an indication that the expensive scientific-grade camera that we just purchased is inadequate? No. We must be aware of the limitations of the instrumentation we use so that we do not expect the impossible. The path to good metrology is to be aware of the limitations and know how to work around them in order to obtain accurate measurement results. A good metrologist can often make a good measurement with a piece of junk whereas an inexperienced person can foul up a measurement with the best equipment available. Much depends upon attitude and awareness.

 

Fig01_tif

Fig. 1: Small-area measurement for an emissive display in a dark room by use of an array camera. The luminance measurement areas are noted by small dashed rectangles in the array-camera image inset.

 

Errors in a small-area black of 1000% or more can be alarming. However, this should not be surprising considering what we are confronting. Take, for example, an emissive display with a full-white-screen luminance of 250 cd/m2. If the contrast of a single-pixel-wide character on that white screen is actually 250:1, then the black character stroke would have an actual luminance of 1 cd/m2. If the veiling glare in the camera contaminated that black luminance measurement by only 10 cd/m2, then that black measurement would be 11 cd/m2 instead of 1 cd/m2, and the error introduced would be 1000%. The contrast would be incorrectly measured at 260:11 or about 24:1 instead of 250:1 – a 91% error in the contrast.

On the other hand, if we are viewing a relatively low-character-contrast display, such as a display in a high-ambient-light environment, the black character stroke for a display with an ambient white level of 250 cd/m2 may have an actual ambient contrast of 5:1, or the black would actually have a luminance of 50 cd/m2 under ambient conditions. The contamination of 10 cd/m2 would amount to only 20% of the black luminance in this case, and the ambient contrast with glare would be measured at 260:60 or 4.3:1, an error of only 14%. For a display with an ambient contrast of 3:1 and an ambient white luminance of 250 cd/m2, a 10-cd/m2veiling-glare contamination would amount to a 12% error in the black luminance of 83 cd/m2 and result in an ambient contrast of 260:93 or 2.8:1 – that is only a 7% error. Thus, the higher the contrast, the more serious it becomes to ignore the veiling-glare contribution to the measurement. (As a very rough rule of thumb, in a non-trivial scene, many complicated camera lenses introduce approximately 4% or 5% of the average scene luminance as veiling glare, which is 10 cd/m2, using our hypothetical 250-cd/m2display.)

Note that the veiling-glare contribution adds to both the black and the white measurements when measuring both white and black areas on the same screen at the same time. When we measure the full-screen contrast, known also as the sequential contrast, the effects of veiling glare cancels out in the division with the contrast calculation because the contamination in each full screen is directly proportional to the luminance of each screen. However, this is only for full-screen contrasts. Whenever different luminances are on the same screen, the veiling-glare contributions to those luminances do not cancel out when contrasts are being considered.

Replica Masks

So, how do we use our cameras or small-area spot detectors to measure a small dark area on a white screen? One way is to employ a replica mask.3 This is an object placed near the small dark area we want to measure that is the same size as the area to be measured and for which we know its luminance LM. We measure the white-area luminance Lh, measure the black-pixel-area luminance Ld, and then measure the luminance of the replica LR. If we know what the luminance of the replica should be (LM), then we subtract that luminance from the measured replica luminance to obtain the veiling-glare luminance LG = LR – LM. That veiling-glare luminance can then be subtracted from the measured white and the black luminances to obtain a better measurement result that accounts for the glare, LW = Lh – LG, and LK = Ld – LG. The ratio of the veiling-glare-subtracted white and black is the true contrast of the small area of black, C = LW/LK.

In the case of an emissive display in a dark room, we arrange for a black-opaque replica mask with its surface parallel to the display surface (see Fig. 1). A white display screen can light up a normal room; thus, the dark room must be of sufficient quality so that there is no contribution to the measured luminances from scattered light in the room or any objects in the room – this is essential. Additionally, the light-measuring device (LMD) or detector, either an array camera or a spot luminance meter, must be sufficiently far back from the screen so that reflections off it do not contribute to the measured luminances. For some types of apparatus that problem may require making measurements from a slightly off-normal direction to avoid the influence of the detector in the measurement results. Particularly for high-contrast-capable displays, stray-light contributions from the apparatus or the room must be carefully controlled so that they are below the noise level of the measurements of the black areas. If the dark room's stray light is properly controlled, then the actual luminance LM of the replica will be zero. For such a case, the measured luminance LR of the replica is used as the glare luminance: LG = LR with LM = 0.

 

Fig02_tif

Fig. 2: Small-area measurements of a display in a uniform-ambient environment by use of a replica mask and an array camera for the light-measuring device (LMD). The replica-mask luminance LM is measured assuring no bright areas are visible from the camera. The integrating sphere should be larger than shown here for illustration purposes.

 

In order to make small-area measurements in a uniform ambient environment, the reflectance of the replica material will render it with a finite intrinsic luminance LM that is not zero. Figure 2 shows a top view of a display in an integrating sphere. This is for illustration purposes only; the integrating sphere dimensions shown would not be large enough to provide a uniform illumination of the display. Generally, as a rule of thumb, the diameter of the integrating sphere should be approximately seven times the size of the object being measured. A large sample of the replica material must be placed within the uniform illumination region near the display. It must be large enough that the detector will not be exposed to any bright areas within the sphere when it measures the luminanceLM of the replica material (otherwise veiling glare in the detector will provide us with the wrong luminance of the replica material).

When an integrating sphere is used, the display must be turned away from the measurement port so that its normal is θ = 6° to10° from the center of the measurement port. If it would be useful to know the hemispherical diffuse reflectance ρM of the replica material, then a white reflectance standard may also be placed near the display to measure the illuminance E. Knowing the reflectance might be useful for using the replica material in other uniform-illumination situations, as with a sampling sphere rather than a large integrating sphere.

Making the proper replica is not always easy. For a large character, such as a 48-point sans-serif upper case "I" or another multi-pixel shape of that size, it may be possible to cut some opaque black plastic material to the exact same size (within 5% or so). However, for a character stroke that might be only a single pixel wide, it may be virtually impossible to cut such a shape successfully. Noting that most of the glare that contributes to the contamination of a narrow line or straight character stroke comes from the immediate white area next to the stroke, we can cut a very narrow triangle of black material using a razor blade and place it a short distance away from the character of interest, where the thickness of the triangle is the same as the character stroke (see Fig. 3). That should provide an adequate replica to determine the veiling-glare contribution. Whereas we would normally determine the white level by measuring full pixels, that may not be the right thing to do for the black pixels or the replica. Generally, there is a strong glare contribution at the boundary of a lit pixel and a dark area, so the luminance profile is not sharp, but rounded, as depicted in Fig. 3. To avoid that rounded boundary, we would use a smaller area within the dark pixels or replica to estimate the luminances encountered. Although this may not totally solve the problem, the contrast obtained usually gets us much closer to the actual contrast than if we did not attempt to account for veiling glare.

When using an array camera as our detector, we should always try to use sufficient magnification to obtain from 10 to 20 (preferably) detector pixels covering a single display pixel because of this rounding of the luminance profile into the dark areas – we want to clearly see the boundary region we need to avoid. Unless the display is of very low contrast, a 16-bit array camera is often needed to span the luminance range encountered. If that is not the case, or if the contrast exceeds the 16-bit camera's capability, then two exposures will be needed; one for the black reading and one for the white reading. In using array cameras, it is also important that they be photopic; i.e., their spectral sensitivity must be very similar to the spectral luminous efficiency for photopic vision – the V(λ) curve.

 

Fig03_tif

Fig. 3: Narrow triangular replica mask used to match the thickness of the character stroke of the sans-serif letter "I." The dark regions are measured with areas thinner than a pixel width in order to avoid the rounding of the luminance profile that occurs from glare from the immediate proximity of the bright subpixels. (The luminance profile shown is for illustration purposes only and is not necessarily scaled to actual relative levels encountered in practice.)

 

In discussing small-area measurements, we have mentioned only direct-view displays here. Front-projection displays may also have small-area measurements made by use of replica masks as well as replicas that produce shadows. The idea is the same. We subtract from the white and black luminance measurements the luminance of some region of the same size – a replica – that represents the amount of stray light that we encounter.4

Conclusion

Using replica masks to measure small-area and character contrasts can be one of the most difficult measurements to make. However, not using some technique to eliminate the effects of veiling glare can produce measurement results for small-area black levels and associated contrasts that are very inaccurate – even absurd. Ultimately, it would be very helpful to have deconvolution techniques that would allow us to fully account for veiling glare, but such techniques would have to be tested to agree with actual measurements such as those made with replica masks.

References

1T. G. Fiske and L. D. Silverstein, "Estimating Display Modulation by 2-D Fourier Transform: A Preferred Method," J. Soc. Info.Display14, No. 1, 101-105, (January 2006).

2J. W. Roberts and E. F. Kelley, "Measurements of Static Noise in Display Images," Proc. SPIEElectronic Imaging SymposiumV4295B-27, 211-218 (2001).

3P. A. Boynton and E. F. Kelley, "Small-Area Black Luminance Measurements on a White Screen Using Replica Masks," SID Symposium Digest 29, 941-944 (1998).

4P. A. Boynton and E. F. Kelley, "Stray-Light Compensation in Small-Area Contrast Measurements of Projection Displays," Proc. SPIE: Projection Displays VIII 4657, 122-130 (2002). •

 


Edward F. Kelley is a physicist with the Optoelectronics Division, Electronics and Electrical Engineering Laboratory, Technology Administration, NIST, U.S. Department of Commerce, 325 Broadway St., Div. 815.01, Boulder, CO, 80305-3337; telephone 303/ 497-4599, fax -3387, e-mail: kelley@nist.gov. This is a contribution of the National Institute of Standards and Technology and is not subject to copyright.