Polarization in imaging: Things you did and didn’t know it could do

Imaging techniques suit applications involving reflections, glints, thin coatings, thickness changes, strain effects, and subtle slope changes.

Figure 3: The printed number under the barcode is not readable in the left-hand image but is clear in the right image using crossed polarizing filters.
Figure 3: The printed number under the barcode is not readable in the left-hand image but is clear in the right image using crossed polarizing filters.

Kevin Harding

Polarization is a property of how light energy propagates. It is not the same as color, where selecting and viewing different bands is possible. When filtering out a color, that band of light becomes unavailable, but with polarization, the state of the light repeatedly changes. In fact, every time light reflects or passes through something, the state of polarization of the light changes.

The machine vision community has known for years that polarization enables the filtering out of glare from a shiny surface, but there are many more tasks suitable for polarization.


Figure 1. A crossed polarizer application consists of polarized light source and a second polarizer placed in front of the camera.Figure 1. A crossed polarizer application consists of polarized light source and a second polarizer placed in front of the camera.

Glints and reflections

Figure 1 shows a typical application of polarizers, with a polarized light source and a second polarizer placed in front of the camera.

Figure 2. Using a setup like that in Figure 1 enables the reduction or removal of specular reflection, such as the glint off bubble pack pictured here, making it easier to see the pill beneath.Figure 2. Using a setup like that in Figure 1 enables the reduction or removal of specular reflection, such as the glint off bubble pack pictured here, making it easier to see the pill beneath.

Any specular reflection, such as glint off a bubble pack (Figure 2), is reduced or removed, providing a better view of the pill beneath. Clear surfaces like the bubble pack—where reducing specular or mirror-like reflections help an application—aren’t the only suitable use for polarization.

Figure 3: The printed number under the barcode is not readable in the left-hand image but is clear in the right image using crossed polarizing filters.Figure 3: The printed number under the barcode is not readable in the left-hand image but is clear in the right image using crossed polarizing filters.

Figure 3 shows a barcode on a can where the shiny surface of the can makes it impossible to read the alphanumeric number under the barcode. Using crossed polarizers, however, makes the number easily readable without making the rest of the image dark.

Figure 4: Double Bounce Reflections on a Shiny Part with Cross Polarizers (a). Parallel Polarized Light Image Rejecting Extra Reflections (b).Figure 4: Double Bounce Reflections on a Shiny Part with Cross Polarizers (a). Parallel Polarized Light Image Rejecting Extra Reflections (b).

Polarization can change based on the material and angle of incidence of a part surface to suit different applications. For example, Figure 4 shows light illuminating a corner reflector formed by two shiny metal surfaces at a right angle. Two reflections of the light, as shown, cause a rotation of the image. If the incoming light was polarized at -45°, then upon reflection, light polarizes at +45°. To reject the specular reflection, the second polarizer needs to align parallel to the first one. The diffusely reflected light in the example becomes depolarized so it is visible.

Figure 5: Tape on a metal surface can be made to stand out using polarized light.Figure 5: Tape on a metal surface can be made to stand out using polarized light.

Thin coatings, changes in thickness, strain effects

The previous example represents just the beginning of what can be done with polarization, however. Figure 5 shows a piece of clear tape on a metal surface. The image on the left shows visible tape with low contrast, while on the right, polarization causes the tape to stand out.

Figure 6: The edge of clear tape on a clear plastic ruler can be very difficult to see, but because of the diffuse nature of the edge reflection, polarization can make is stand out.Figure 6: The edge of clear tape on a clear plastic ruler can be very difficult to see, but because of the diffuse nature of the edge reflection, polarization can make is stand out.

Edges can also be made more visible using polarization, as shown in Figure 6a. The left side of the images shows a nearly-invisible edge of a piece of tape on a clear plastic ruler. With different polarization, the edge stands out, as seen in Figure 6b.

Figure 7: Polarized light causes the stress lines in a plastic lid to be highlighted.Figure 7: Polarized light causes the stress lines in a plastic lid to be highlighted.

Plastic parts, such as the lid in Figure 7, often contain stresses that can be mapped using polarization, which helps to identify potential breaks in the container. A whole field of non-destructive testing referred to as photo-elastics models stresses in a part design by making a part out of plastic and analyzing the model using polarized light.

Figure 8: A plastic ruler shows a stress line down the middle, but with a different polarization (right) the line suddenly stops due to a change in the thickness.Figure 8: A plastic ruler shows a stress line down the middle, but with a different polarization (right) the line suddenly stops due to a change in the thickness.

The polarization effect also changes with a coating on the plastic or a change in thickness (Figure 8). On the left, a change in the thickness of the ruler is not evident, but on the right, with just a change in polarization, stress lines change abruptly, indicating a change in the mechanical integrity of the ruler or in this case, a change in the thickness of the plastic.

Changes in slope

Perhaps less known, polarization can help determine slope and pitch of a surface. Highlighting slope using polarization requires a setup like that shown in Figure 1, with the biggest difference in setup being that—when rejecting a simple specular glint with cross polarizers—it is best to keep the polarized light source and camera with a polarizer on the lens close to each other and near normal to the part surface. By keeping both source and viewing point close, the polarization of the light changes relatively little upon reflection so it can be most effectively rejected by the second polarizer (analyzer) by crossing it relative to the illumination polarization. Effectively, the glint approach rejects the well-polarized, specularly-reflected light and passes the diffusely reflected, non-polarized light.

Figure 9: A broad, diffuse light illuminates the barcode on the curved can from Figure 3, providing a uniform bright reflection across the barcode.Figure 9: A broad, diffuse light illuminates the barcode on the curved can from Figure 3, providing a uniform bright reflection across the barcode.

To highlight the slope using polarization, the light reflected from the surface must be polarized over the area of inspection. To do so requires a bright field arrangement lighting the full surface bright. Figure 9 provides an example, where a broad, diffuse light illuminates the barcode from Figure 3 rather than using polarization. Such bright light methods are often used with shiny surfaces for providing a brightly-illuminated surface to look for defects, printing, or other surface features—a common method when a shiny surface has a lot of shape, which results in a lot of bright and dark areas. Without a shiny surface, the reflected light will not maintain polarization and will not be useful for seeing slope changes. The surface does not need to be mirror-light either, as any shiny surface (bare metal, painted surfaces, for example), maintains much of the polarization of the light.

Common bright field illumination tools include using a diffuse light source such as a light box, and in-line diffuse light in front of the camera, a diffuse ring light or a light tent (sometimes called a cloudy day illuminator). A diffuse light from multiple directions would typically not provide a consistent polarization of illumination light and would not be useful for highlighting slopes.

Figure 10: Using a bright field configuration to fully light the bare metal surface, the polarization changes with the slope of the surface.Figure 10: Using a bright field configuration to fully light the bare metal surface, the polarization changes with the slope of the surface.

A bright field arrangement using a light box off to the side is shown in Figure 10. A higher difference in the angle between the illumination direction (light box) and the analyzer direction (camera) produces more change in the polarization state upon reflection—a technique used in advanced instruments such as ellipsometers for analyzing thin film coatings.

The high-angle reflection is not the same as the double-bounce reflection in Figure 4 where the polarization rotates 90° and maintains a linear polarization because of the retro-reflection acting as a normal incidence reflection. Figure 10 represents a single reflection, where the source and camera relative to the part should be positioned so that the entire surface appears bright. The initial linearly-polarized light becomes elliptically polarized, changing with the angle of the surface both in and out of the plane of incidence (the plane containing both the illumination and viewing directions). This change in polarization can be seen by rotating the polarizer in front of the camera.

Figure 11: From parallel polarization to crossed from left to right, the slope changes are greatly enhanced by polarization angle, with no change in illumination angle.Figure 11: From parallel polarization to crossed from left to right, the slope changes are greatly enhanced by polarization angle, with no change in illumination angle.

Figure 11 shows three different polarization states of light viewed from a bare sheet metal part with subtle bends. In the first image on the left, very little change in light level is seen across the part. Changing the polarization seen at the camera by about 45° shows a change from the top section to the bottom section, but not a lot of change from top to middle. Changing the polarization seen at the camera further, the next-right image shows the middle section to be a much different slope. Turning the part over in the far-right image reversed the shading because the slope is reversed. Nothing else changed in these images except the polarization seen by the camera.

Figure 11 does not show shading due to changes in illumination angle. The first image on the left shows shading effect, which would not be very useful in reliably detecting slope changes. Slope changes are perpendicular to the light direction coming from the right, with an identical illumination angle in all three images. A big change in brightness due to the change in polarization state reflected from each region across the part to the bottom still exists, however.

Figure 12: A curved surface shows little change under diffuse lighting (left) but using polarization can be shaded on either slope or changed from one to the other by changing the polarization.Figure 12: A curved surface shows little change under diffuse lighting (left) but using polarization can be shaded on either slope or changed from one to the other by changing the polarization.

Such an effect proves useful on curved surfaces as well, creating a shading effect where doing so with the light angle alone is not practical. Figure 12 shows a curved sheet metal part illuminated by a broad, diffuse light from the side. No real indication of shape exists without polarization, but with a polarizer over the light, another in front of the camera the shading can be placed on the positive or negative slope of the curve of the part. In addition, a small, otherwise imperceptible edge bend can be seen near the center of the part.

Such a capability proves useful for many curved parts, including sheet metal panels on a car or a casting where the orientation of the curve may not be known or using a large directional light may not be practical for shading based on lighting angle.

Summary

Polarization offers additional and sometimes unique capabilities for a machine vision lighting system. As with any lighting, polarization does not provide the answer to all applications, but for applications that may have:

·        multiple reflections,

·         specular glints,

·         thin coatings or thickness changes,

·         strain effects or

·         subtle slope changes that are hard to see,

polarization provides an extra tool in the machine vision lighting toolbox.

References

1. Kevin Harding, “Machine Vision Lighting,” in The Encyclopedia of Optical Engineering, B. G. Batchelor, Ed. Marcel Dekker (2000).

2. L. B. Wolff, “Surface orientation from polarization images,” SPIE Proc. Vol. 850, p. 110 (1987).

3. R. M. A. Azzam, N. M. Bashara, Ellipsometry and Polarized Light, North Holland, New York (1987).

4. Max Mark Frocht, Photoelasticity, John Wiley and Sons, New York, Vol.1 (1941) Vol. 2 (1948).

Related stories:

Understanding unique machine vision illumination methods

Fourier-transform analysis helps optical method improve RA detection

Moiré imaging methods enhance 3D image generation in machine vision


Share your vision-related news by contacting Dennis Scimeca, Associate Editor, Vision Systems Design

SUBSCRIBE TO OUR NEWSLETTERS

More in Lighting & Optics