Skip to main content

01 / 05   Contrast

Application note

Measuring Image and Display Contrast

Choose a contrast definition that matches the feature, background, and viewing condition.

Contrast describes the separation between a feature and its surroundings. An imaging system must preserve that separation from object to recorded image; a display must reproduce it from image data to emitted or reflected light. The same equation can describe either system, but a useful result also identifies the pattern, geometry, operating state, and measurement scale.

Match the definition to the task

For measured high and low luminances, the contrast ratio and Michelson modulation are:

CR=Lmax⁡Lmin⁡,CM=Lmax⁡−Lmin⁡Lmax⁡+Lmin⁡CR=\frac{L_{\max}}{L_{\min}},\qquad C_M=\frac{L_{\max}-L_{\min}}{L_{\max}+L_{\min}}

Contrast ratio is usually reported as, for example, 100:1; Michelson modulation as a fraction or percentage. Weber contrast describes a feature on a substantially uniform background:

CW=Lfeature−LbackgroundLbackgroundC_W=\frac{L_{\mathrm{feature}}-L_{\mathrm{background}}}{L_{\mathrm{background}}}

Its sign distinguishes brighter and darker features. The background must be positive. A small black-level reading demands particular care: instrument offsets, noise, and stray light can dominate the denominator. A reading below the measurement floor supports a bound, not an exact infinite contrast ratio.

Imaging and display contrast use parallel test chains: a specified pattern, an optical system, and calibrated high and low measurements.

View diagram at full size

Imaging: preserve the feature against its background

Illuminate a representative target, control exposure and focus, and measure feature and background regions away from transitions when estimating patch contrast. Use linear, offset-corrected camera response; gamma-encoded pixel values are not luminance measurements. A calibrated imaging photometer can instead supply luminance directly.

Compare object and image modulation when evaluating contrast transfer. Target reflectance alone does not establish the input contrast: illumination, surface directionality, and geometry matter. Blur mixes neighboring features, while flare adds unwanted background. Both reduce visibility, but require different corrective actions. Include the feature size and field position in the result.

Display: separate sequential and simultaneous patterns

Sequential contrast compares full-white and full-black states. A checkerboard measures white and black regions simultaneously. Define its global result as the mean white luminance divided by the mean black luminance. A paired normal/inverse checkerboard can additionally measure each location in both states and average the resulting local ratios.

These are different experiments. Checkerboard dimensions, ROI placement, settling time, local dimming, and instrument flare affect the result. Spatial light spread often reduces simultaneous contrast relative to sequential contrast, but the ordering and difference are not universal. Calling a pattern “ANSI-style” does not by itself specify a complete standard-compliant method.

Two checkerboard summaries: ratio of means and mean of ratios

For a specified simultaneous checkerboard, let WjW_j and BkB_k be measured luminances in the selected white and black regions:

CRglobal=mean⁡jWjmean⁡kBkCR_{\mathrm{global}}=\frac{\operatorname{mean}_j W_j}{\operatorname{mean}_k B_k}

For the paired-pattern protocol, let WiW_i and BiB_i describe the same physical location when it is white and black in complementary patterns:

CRi=WiBi,CRpaired=1N∑i=1NCRiCR_i=\frac{W_i}{B_i},\qquad CR_{\mathrm{paired}}=\frac{1}{N}\sum_{i=1}^{N}CR_i

The mean of ratios generally differs from the ratio of means. Preserve the individual ratios and spatial map; one mean can conceal a weak location. This paired definition is an explicitly stated test protocol, not a universal definition of local or ANSI contrast.

Include ambient light in either optical path

A display reflects room light toward the viewer; a camera can collect ambient light from the target, enclosure, or lens. In either case, added light changes contrast. For a display with state-independent Lambertian reflectance ρ\rho under illuminance EE:

La=ρEπ,ACR(E)=LW+LaLB+LaL_a=\frac{\rho E}{\pi},\qquad ACR(E)=\frac{L_W+L_a}{L_B+L_a}

Here EE is in lux, LaL_a in cd/m², and ρ\rho is dimensionless. Real directional surfaces require the actual illumination and viewing geometry; white and black states may also have different reflectances.

An additive light contribution raises both high and low levels in an imaging measurement and a display measurement, reducing contrast in both.

View diagram at full size

Contrast retention ACR(Ehigh)/ACR(Elow)ACR(E_{\mathrm{high}})/ACR(E_{\mathrm{low}}) compares two specified ambient conditions. Retain the absolute ratios too: good retention alone does not establish usable contrast.

Iris Optics can help define comparable camera and display contrast tests, separate optical effects from measurement artifacts, and connect acceptance limits to the application’s critical features.

Explore the model

Compare contrast definitions

Use calibrated luminance from a display pattern or an imaged scene; compare bright/dark contrast with a signed target-to-background contrast.

Change the values to update the results and visualization.

Bright/dark contrast ratio
200:1
Michelson contrast
99.005 %
Signed Weber contrast
-60 %

The chart uses the bright/dark pair. The separately entered target/background pair determines signed Weber contrast.

Compare contrast definitions: interactive plotLuminance / cd/m² against Location: dark (0) → bright (1). Bright/dark pair.000.2440.4880.61320.81761220Location: dark (0) → bright (1)Luminance / cd/m²
Bright/dark pair
Formula & assumptions

CR = Lhigh/Llow; CM = (Lhigh − Llow)/(Lhigh + Llow); CW = (Ltarget − Lbackground)/Lbackground.

Use linear luminance, not encoded image values. Bright/dark and target/background are independent input pairs. Positive Weber contrast denotes a brighter target. A true zero black with positive white gives an ideal infinite ratio; a reading below the instrument floor cannot establish that limit. All-zero luminance has undefined CR and Michelson contrast.

Explore the model

Ambient contrast and retention

Estimate how a diffuse reflected-light pedestal changes a display’s contrast at two ambient illuminances.

Change the values to update the results and visualization.

ACR at lower ambient
88.54:1
ACR at higher ambient
2.5508:1
Contrast-ratio retention
2.8809 %
Reflected luminance at higher ambient
127.32 cd/m²

The plot uses bounded Michelson contrast so a zero-black ideal does not create an infinite axis. Points with undefined all-zero contrast are omitted.

Ambient contrast and retention: interactive plotMichelson contrast / fraction against Surface illuminance / lx. Ambient-modified modulation.0020000.240000.460000.680000.8100001Surface illuminance / lxMichelson contrast / fraction
Ambient-modified modulation
Formula & assumptions

La = ρE/π; ACR(E) = (Lwhite + La)/(Lblack + La); retention = ACR(Ehigh)/ACR(Elow).

E is illuminance on the display surface. A Lambertian, state-independent reflection model adds equal luminance to white and black; display emission stays fixed. ρ is dimensionless diffuse reflectance, not a BRDF value. Specular glare, viewing-angle dependence, adaptive brightness and local dimming require measured conditions. Retention is undefined with an infinite or undefined baseline.

From estimate to application

Make contrast a useful acceptance criterion.

Iris Optics can help define patterns, illumination, measurement geometry, and uncertainty for camera or display contrast testing.

Discuss your contrast measurement