LightingHow-to

Cross polarization machine vision: reduce surface glare

Set up cross polarization machine vision lighting to reduce glare, measure light loss, and verify exposure, color and difficult surfaces.

LumaSpec Vision9 min read Share on LinkedIn

On this page 9 sections
  1. 01Decide whether suppressing the reflection helps
  2. 02Understand extinction and the exposure penalty
    1. Worked exposure example
  3. 03Choose the light geometry before buying filters
  4. 04Set up cross polarization in six steps
  5. 05Verify contrast, exposure and color separately
  6. 06Recognize the cases where crossed filters disappoint
  7. 07Check the assembly before ordering
  8. 08Turn the trial into a documented lighting choice
  9. 09Questions

Glare can hide print, wash out color and turn a stable inspection into a position-sensitive one. Cross polarization is useful when the unwanted reflection comes from a glossy nonmetallic surface, while the inspection information comes from beneath it or from diffuse reflection. You will learn how to arrange the filters, measure the light penalty and check whether glare reduction actually improves your inspection.

Decide whether suppressing the reflection helps

Use cross polarization when you need to inspect printed labels, glossy plastic, coated packaging or similar surfaces without their bright reflections. Place a linear polarizer over the illumination and another linear polarizer, called the analyzer, in front of the lens. Rotate their transmission axes approximately perpendicular to each other.

This arrangement blocks the portion of reflected light that retains the illumination's polarization. Light scattered within a material may become partly depolarized, allowing some useful image information through the analyzer.

Do not assume that every bright reflection is unwanted. A scratch, shallow dent or coating defect may be visible precisely because it changes a reflection. Removing that reflection can remove the defect signal too. The guide to surface lighting versus silhouette lighting helps separate those inspection goals.

For the broader choice between polarizers and other filter types, start with choosing optical filters for inspection contrast.

Understand extinction and the exposure penalty

For ideal linear polarizers, the transmitted intensity of already polarized light follows Malus's law. The angle is measured between the light's polarization direction and the analyzer's transmission axis.

I_out = I_in × cos²(theta) At theta = 0°: ideal transmission is maximum At theta = 90°: ideal transmission is zero

Real assemblies do not reach perfect extinction. Polarizer quality, wavelength, stray illumination and changes in polarization at the surface all affect the minimum brightness.

For an idealized diffuse signal, an illumination polarizer transmits half of initially unpolarized light. If the part then completely depolarizes that light, the analyzer transmits half again:

Useful diffuse fraction = 0.5 × 0.5 = 0.25 Exposure multiplier for equal signal = 1 / 0.25 = 4

This is a planning estimate, not a guaranteed transmission value. Actual filter absorption and the part's scattering behavior can change the required compensation substantially.

Worked exposure example

Suppose a useful target patch produces 160 black-corrected intensity counts without filters and 40 counts with crossed filters. Both measurements use linear, unsaturated images with unchanged exposure, gain and illumination settings.

Measured signal fraction = 40 / 160 = 0.25 Required exposure multiplier = 160 / 40 = 4 New exposure = 0.5 ms × 4 = 2 ms

If your motion budget permits only 0.8 ms, extending exposure to 2 ms is not an acceptable fix. Investigate additional illumination, a suitable aperture change or a different lighting geometry instead.

Increasing electronic gain raises the displayed brightness but does not replace lost photons. If pulsed illumination is necessary, verify timing using the guidance on measuring usable LED strobe light.

Choose the light geometry before buying filters

You need a camera with manual exposure and gain control, a stable part fixture, adjustable illumination, a light-side linear polarizer and a rotatable lens-side analyzer. Include representative acceptable and defective samples, plus a neutral reference if color matters.

Bar lights are useful for testing reflection direction because you can change their angle independently of the camera. A large source may cover the part more evenly, but its polarizer must cover the entire emitting area seen by the inspection region.

The LS-BAR-1276 is a diffused white bar light. Treat it as a candidate for geometry trials, not as a complete polarized assembly.

Bar lightsBar light, 372 x 28 mm, White (LS-BAR-1276)LS-BAR-1276
Size
200-400 mm
Type
Diffused
Voltage
24 V
$439.00View partBuild a system with it

Ring lights provide illumination around the viewing axis. They can reduce directional shadows, but their reflections may form bright rings on curved surfaces. All illuminated sectors used together should have a consistent polarization axis across the assembly.

The LS-RNG-0143 is a ring light with a diffuser. Confirm how a separate polarizer would be supported before selecting it for cross polarization.

Ring lights100 mm dia. ring light with diffuser, 30° (LS-RNG-0143)LS-RNG-0143
Size
100-200 mm
Type
Diffused
Angle
30°
Voltage
24 V
$169.00View partBuild a system with it

Neither example's listed description establishes polarizer compatibility. Confirm the mechanical arrangement and optical performance separately. Compare geometries through the lighting finder before committing to a mounting layout.

Place the illumination polarizer after the final diffuser or other element that could alter polarization. A diffuser installed after the polarizer may weaken extinction. Keep the camera's viewing aperture clear, and do not cover cooling surfaces or electrical connections.

Use lens accessories and the accessory finder to investigate mounting options. Confirm the analyzer's thread, clear aperture, wavelength range and rotational locking method rather than assuming any filter will fit.

Set up cross polarization in six steps

  1. Record an unfiltered baseline. Fix the camera, part and light positions. Disable automatic exposure, automatic gain and automatic white balance. Save images of acceptable and defective samples, including the strongest glare you expect during production.

  2. Fit the illumination polarizer. Cover every active emitting area that contributes to the inspection. Prevent light from escaping around the sheet's edges. With multiple lights, align their transmission axes consistently before evaluating the combined image.

  3. Install the lens analyzer. Support it without contacting the front glass or obstructing the lens controls. Start with its transmission axis approximately perpendicular to the illumination polarizer. Use a rotatable mount that can later be secured.

  4. Find the glare minimum. Keep exposure and gain unchanged while rotating the analyzer through 180°. Observe the offending reflection, not just average image brightness. Mark the angle giving the best useful contrast; the darkest whole image is not necessarily the best inspection image.

  5. Recover useful signal. After selecting the angle, adjust exposure or illumination within the application's limits. Check the histogram for clipping in each color channel. Avoid compensating so aggressively that another reflection saturates or motion becomes blurred.

  6. Secure and repeat. Mark both filter orientations, secure the mounts and repeat the capture sequence. Test the full range of part position, rotation and tilt. Recheck focus if the analyzer changes image sharpness or the mechanical arrangement has moved.

If a residual highlight moves when the part tilts, geometry is still part of the problem. Adjust the light angle before adding more filters. For reflective metal features within the same assembly, compare the alternatives in lighting shiny pins without glare.

Verify contrast, exposure and color separately

Run two comparisons rather than judging a single attractive image.

First, compare filtered and unfiltered captures at identical settings. This reveals the signal loss and whether the glare responds to analyzer rotation. Second, compare them after restoring a similar useful target brightness. This shows whether the inspection benefits once exposure compensation is included.

For each comparison, record:

  • The exposure, gain and illumination settings.
  • The brightness of the useful feature and its immediate background.
  • The area of saturated glare within the inspection region.
  • The feature-location or classification output on known samples.
  • Any increase in noise, blur or color variation.

Test at least the nominal pose and the extremes allowed by the fixture. A useful initial matrix might contain 3 positions, 3 tilt conditions and 2 surface conditions:

Initial test combinations = 3 × 3 × 2 = 18

Those combinations are an engineering starting point, not a statistical qualification. Include actual manufacturing variation and expand the sample set for the consequences of a missed defect.

For color inspection, repeat the white-balance or color-calibration procedure with the final filters installed. Polarizers can transmit different wavelengths unequally, and suppressing a white reflection can make the underlying material appear more saturated. That appearance change is not proof of improved color accuracy.

Use a neutral reference and representative color samples at the center and edges of the field. Keep illumination settings fixed after calibration. The guide to repeatable white-light color temperature explains another source of color inconsistency that polarizers cannot correct.

Recognize the cases where crossed filters disappoint

Surface or symptom Why suppression may be incomplete Practical response
Curved glossy plastic Reflection geometry changes across the surface Test the complete curvature and allowed tilt; adjust source angle or size
Water droplets or uneven liquid films Different local surface normals redirect reflections Include realistic wet samples and evaluate each inspection region
Transparent molded plastic Stress birefringence can change polarization Check for bright or colored patterns that could resemble defects
Transparent containers Front, rear and internal reflections follow different paths Separate the target feature from unwanted interfaces through geometry
Bare metal Reflected light may change polarization differently from a simple dielectric reflection Compare diffuse illumination and angle changes rather than assuming extinction
Bright image with little response to analyzer rotation Unpolarized ambient light or uncovered emitters may dominate Identify the uncontrolled source before increasing filter strength

Wet surfaces do not automatically make cross polarization ineffective. A smooth liquid film may respond well, while droplets on the same material produce localized reflections that remain troublesome. Validate the actual surface condition, including uneven coverage.

Transparent parts deserve particular care. Crossed filters can reveal stress patterns that were nearly invisible before filtering. Those patterns may be useful for a stress inspection, but disruptive when reading print or checking a surface mark.

If uncontrolled illumination is the main limitation, use the methods in measuring and improving ambient-light rejection. Crossing filters on the intended light does not polarize other light sources.

Check the assembly before ordering

Use this checklist to turn a successful bench arrangement into a repeatable specification.

  • Inspection objective: Confirm that the wanted feature survives glare suppression, including the smallest relevant defects.
  • Coverage: Specify the full illuminated area and analyzer clear aperture, not just the external filter dimensions.
  • Polarization direction: Record the axes of every illumination filter and the lens analyzer.
  • Spectral compatibility: Match filter performance to the illumination wavelength range; visible-light behavior does not establish infrared performance.
  • Exposure margin: Record the final exposure and the remaining margin against motion blur and cycle time.
  • Mechanical fit: Confirm thread compatibility, rotation clearance, lens-control access and a repeatable locking method.
  • Thermal suitability: Check the polarizer's permitted operating conditions and the illumination assembly's mounting requirements.
  • Replacement procedure: Define orientation marks and the image checks required after replacing either filter.

Do not select an adapter from nominal diameter alone. Follow the safe lens-thread fitting checks before assembling the analyzer and lens.

Turn the trial into a documented lighting choice

Keep the crossed arrangement only if it improves inspection performance across your sample set without exceeding exposure or color tolerances. If the best setting removes the wanted feature, return to light geometry rather than forcing a darker image.

Start the lighting configuration with your field coverage, working distance, exposure limit and sample conditions. For help checking filter fit and the test plan, send those details through application support.

Build the whole station

The configurator matches a camera, lens, light, light controller and cables to each other, step by step, and lists only parts that fit what you already picked.

Start with the light

Questions

Do you need polarizers on both the light and the lens?

A lens polarizer alone can reduce some reflections, depending on their existing polarization and the viewing geometry. Pairing it with a polarizer on the illumination gives you a controlled starting polarization and a crossed analyzer setting. This usually makes the setup more repeatable, but it still requires testing on the actual part.

How much additional exposure does cross polarization require?

An idealized system retains about one quarter of a completely depolarized diffuse signal, suggesting four times the exposure for equal brightness. Real transmission depends on the filters, wavelength and material. Measure a useful image patch at fixed settings, then verify that the required compensation fits your motion and cycle-time limits.

Why do transparent plastic parts show patterns between crossed filters?

Transparent materials can rotate or otherwise change polarization, especially when internal stress causes birefringence. The analyzer converts those changes into brightness or color patterns. Check stressed and unstressed production samples before adopting crossed filters for print reading, cosmetic inspection or color measurement.

Can a ring light be used for cross polarization?

A ring light can be used if its emitting areas have suitable polarizing coverage and a consistent transmission axis. The lens opening must remain unobstructed, and the filter support must suit the light's operating conditions. Confirm compatibility rather than assuming that a diffuser provides polarization.

Does reducing glare automatically improve color accuracy?

Not reliably. Removing a white highlight can make the underlying color more visible, but the filters may also change spectral transmission. Calibrate with the final optical assembly, keep automatic adjustments disabled during validation, and compare representative colors against your acceptance limits throughout the field.