LightingExplainer

Segmented ring light photometric stereo on patterned parts

How segmented ring light photometric stereo separates embossed characters from printed patterns, with the math, segment count and controller choices.

LumaSpec Vision11 min read Share on LinkedIn

On this page 9 sections
  1. 01What photometric stereo separates
  2. 02How a segmented ring light makes the directions
  3. 03The combination math: ratios that cancel print
  4. 04Worked example: molded date characters on a black tire sidewall
  5. 05Four zones or eight
  6. 06Sequencing the captures: controller requirements
  7. 07Where the method wins, and where the usual answer is wrong
  8. 08Checks before you order
  9. 09Questions

Printed patterns, woven textures and colour changes defeat the classic character check: threshold one grey image and the pattern swamps the mark. Glossy spots add halation, and a part family that spans several colours looks like one lighting tune per colour. Photometric stereo with a segmented ring light breaks that deadlock. The ring fires its sectors one after another while the camera and part hold still, and per-pixel ratio math turns surface slope into strong contrast while flat ink stays quiet. Here you get the principle, the combination math with a worked threshold calculation, the choice between four and eight zones, and the controller requirements to order against.

What photometric stereo separates

Photometric stereo treats every pixel as a small measurement. How bright a point appears depends on two things: the slope of the surface at that point, and the direction the light comes from. Fire the light from N directions while camera and part stay fixed, and each pixel returns a vector of N counts. A flat area printed with ink or dye returns nearly the same count in every frame, because reflectance sets its brightness and reflectance does not change with direction. A slope returns strongly direction-dependent counts: lit from one side it flashes, from the opposite side it goes dark. The count vector therefore separates shape from flat 2D texture, which is exactly the split a character check needs — the mold mark is shape, the printed pattern around it is texture.

The same measurement supports full surface-defect maps with continuous rings; photometric stereo ring lighting for surface inspection covers that broader use. The segmented ring is the compact way to build the same directions around a single lens.

How a segmented ring light makes the directions

A standard ring drives every sector at once, so it produces one image in which print and height are mixed beyond separation. A segmented ring splits the emitting annulus into zones and wires each zone to its own driver channel. Fire zone 1 and store a frame, fire zone 2 and store a frame, and so on: N zones give N images from N azimuths, all through the same lens at the same focus and gain. Low-angle zones — the 0-15° class used for edge and embossing work — graze the surface, so flank slopes flash bright while flats stay dark. Steeper zones flood more evenly and suit shallow relief.

Zone count, zone elevation and emission colour define the ring build. Segmented rings are configured to order: you specify zones, diameter, angle per zone and connector layout, then pair the ring with a controller offering one strobed channel per zone. The cards show the two ring geometry classes the ratio math leans on:

Ring lights103 mm dia. ring light, 48 mm inner dia. (LS-RNG-0730)LS-RNG-0730
Size
100-200 mm
Type
Standard
$279.00View part
Ring lightsRing light, 120 mm dia., 0°, White (LS-RNG-0426)LS-RNG-0426
Size
100-200 mm
Type
Diffused
$369.00View part

For the segmented build itself, take the geometry above into the configurator and specify the zone layout alongside it. A coarser version of the idea stacks two complete rings at different angles and switches between them; stacked ring lights: switching angles to catch more defect types covers that two-image variant, which needs no segmentation at all.

The combination math: ratios that cancel print

R_NS = I_N / I_S opposite north/south zone pair R_EW = I_E / I_W opposite east/west zone pair C = max(R_NS, 1/R_NS, R_EW, 1/R_EW) slope strength, albedo-free

Both frames of a pair show the same surface, so the per-pixel division meets the same ink, dye and colour in numerator and denominator. A flat printed area divides to almost exactly 1. A slope pushes one frame up and its partner down, so the ratio moves far from 1. C keeps the larger excursion of the two pairs, so the flank orientation of a character stops mattering. In the classic formulation each frame measures a projection of the surface normal, I_i = ρ (n · s_i), and three or more directions solve the normal and reflectance ρ per pixel; the two-pair ratio form is the special case that is simple to implement and easy to threshold.

Worked example: molded date characters on a black tire sidewall

This is the classic case, and a hard one: molded, not printed, characters on black rubber, a patterned tread band around them, and a recessed hub that casts shadows under any single light. Four low-angle zones fire in sequence; a monochrome camera stores four 8-bit frames. The counts below are illustrative pixel readings typical of flank and pattern response at this geometry.

Region I_N I_S I_E I_W R_NS R_EW C
Character flank 180 40 95 105 4.50 0.90 4.50
Printed tread pattern 120 110 115 118 1.09 0.97 1.09

The arithmetic, plainly: the flank divides 180/40 = 4.50 north-south and 95/105 = 0.90 east-west, so C = max(4.50, 1/4.50, 0.90, 1/0.90) = max(4.50, 0.22, 0.90, 1.11) = 4.50. The pattern divides 120/110 = 1.09 and 115/118 = 0.97, so its C = 1.09. Mark-to-pattern separation is 4.50/1.09 ≈ 4.1×.

Place the threshold at the geometric mean of the two clusters: sqrt(4.50 × 1.09) = sqrt(4.91) ≈ 2.21. That point sits about 2× from each cluster in relative terms (2.2/1.09 ≈ 2.0 and 4.50/2.2 ≈ 2.0), the equal-margin choice. Decision: set the threshold at 2.2 on C; every character flank passes and every printed pixel rejects, with roughly a factor of 2 of margin on each side. If trials show pattern C creeping above 1.3 from ink sheen, tighten by adding a cross-polarizer or moving to eight zones. If flank C falls below about 3.0, raise the zone current or lower the elevation rather than lowering the threshold; LED overdrive and current control: stable machine vision lighting shows how strobed pulses recover the brightness short exposures give up.

Black rubber is the reason the ratio beats plain binarization: absolute counts sit low and close to the pattern, while division amplifies the direction-dependent flank response about fourfold here. The recessed hub behaves too. A hub shadow darkens a pixel in one frame of a pair and leaves it normally lit in the other, so shadow boundaries land in C as strong slopes — the real shape of the hub edge — and the date characters outside the shadow keep their full ratio contrast. If the tool needs a clean background there, mask the hub polygon.

Four zones or eight

Four zones Eight zones
Frames per part 4 8
Azimuth spacing 90° 45°
Flank orientations covered 2 (N-S, E-W) 4
Relative capture time 1× 2×
Controller channels 4 8, or two 4-channel units
Best for date codes, embossing, tile marks, heat seals radial text, varying flank angles, fine scratch direction

Choose four zones when the marks face the camera and their flanks run in two preferred directions; the tire date code, the patterned tile and the heat seal all resolve with four. Choose eight when text wraps around a hub, when flank orientation varies from part to part, or when the same image set must also grade fine scratches, where azimuth resolution shows directly in the slope map. Hybrid builds put different zone counts at inner and outer heights for parts with both a flat face and a raised rim; the only new requirement is a channel count that matches the total.

Sequencing the captures: controller requirements

Each zone needs its own strobed channel, pulsed strictly inside its camera exposure, in order. Three requirements decide the controller: channels at or above the zone count, a strobe mode fast enough to pulse within short exposures, and per-channel dimming so the flat-reference calibration is possible. Constant-current output holds per-zone brightness steady as the LEDs warm, which keeps the ratios stable across a shift. The sequence itself is ordinary trigger logic — exposure gate, zone pulse, frame read, next zone — and multi channel light controller sequencing for photometric stereo walks through the wiring and timing. When the part cannot hold still for four frames, moving part photometric stereo: synchronize image capture is the companion design step.

All three controllers below drive four channels. The LS-CTL-0070 is the 200 W unit with a strobe feature and RS232; the LS-CTL-0365 runs its four channels at 16-24 V with constant-current output; the LS-CTL-0180 is a constant-current controller, four channels, 120 W, for 24 V lights.

Specification LS-CTL-0070 LS-CTL-0365 LS-CTL-0180
Input voltage 24 V DC 24 V DC –
Baud rate 9600 bps – 9600-115200bps optional
Working mode Constant on / Trigger / Strobe – 0: constant off, 1: constant on, 2: strobe, 3: trigger delay shutdown
External trigger voltage 5-24 V 5-24 V –
Output voltage 24 V 16-24 V –
Number of channels 4 – 4
Control Manual encoder knob adjustment, PC remote adjustment – Digital (4-digit display, buttons), RS232
Dimensions (mm) W 100 x H 156 x D 134 (from the drawing; body 149 high, 110 deep) – 89 x 147 x 175
Brightness levels – 256 (0-255) 255
Price $549.00 $289.00 $359.00

Values as printed in each product's data sheet; open a part for its drawing and full specifications.

To size channels, power and triggering in one pass, start the controller configurator.

Where the method wins, and where the usual answer is wrong

It wins when:

  • Molded or embossed marks sit under heavy print — tread-band date codes, patterned tiles, textured enclosure faces.
  • Production mixes colours — ratio images are close to colour-blind, because both frames of a pair carry the same colour.
  • Halation plagues the part, such as heat seals — a saturated highlight returns the same near-maximum count from every zone, so its ratio lands near 1 and the glare drops out of the slope image instead of blooming over the characters.
  • Scratches hide in texture — texture is flat noise, a scratch is a V-groove with strong direction response.

The usual answer is wrong when:

  • The part is a deep cavity or bore: grazing ring light cannot reach the walls. Use a dome light for curved specular parts or a 360° inspection lens for bore walls.
  • The surface is mirror-finish metal: flanks saturate in every frame, so ratios saturate too. Cut exposure first, then move to cross polarization if sheen still dominates.
  • The part is transparent or strongly translucent: the method assumes an opaque surface that scatters light back from its top layer.
  • The material moves continuously: four frames need four static instants. For webs, the directions run as parallel line lights instead — line scan photometric stereo: four-angle line lights for moving webs.

Checks before you order

Geometry:

  • Zone elevation matches the relief: low-angle zones (the 0-15° class) for character flanks and embossing, steeper zones for shallow relief. Lighting geometry for image contrast explains the angle-contrast relationship behind this choice.
  • Ring inner diameter clears the lens cone at the working distance; the LS-RNG-0730, for instance, carries a 48 mm inner diameter in a 103 mm ring.
  • Working distance short enough that grazing light rakes the surface; low-angle contrast falls off quickly with distance.

Electrical:

  • One strobed channel per zone, plus a spare if the panel allows.
  • Constant-current or calibrated per-channel dimming for repeatable ratios.
  • Trigger chain arranged so no zone fires outside an exposure window.

Imaging:

  • Monochrome camera, manual exposure and gain, the same LED colour in every zone.
  • Brightest flat area below saturation with headroom for part wobble; a common working point keeps peaks at 70-85% of full scale.
  • Frame count × (exposure + readout) checked against takt time; zones multiply the capture.

Calibration:

  • Flat reference dividing to 1.00 per opposite pair before production.
  • Threshold set from measured flank and pattern clusters, as in the worked example above, not from a guessed grey level.

If the parts on your line match the date-code-and-pattern class, pick the ring geometry in the ring lights category and specify zones and connectors through the configurator below; the light controllers category covers the channel side. The lighting topic page gathers every illumination guide on the site, or tell us the part, the print and your takt time and we will size the zones with you.

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

How many segments does photometric stereo need for character inspection?

Four is the working minimum and the right starting point: two opposite pairs give horizontal and vertical slope responses, which covers date codes, embossing and heat seals. Move to eight zones when characters sit at many orientations, such as radial text around a hub, or when four-direction residuals still leak pattern into the height image. The controller channel count must match the zone count, so confirm strobe channels before ordering.

Does the method work when parts come in several colours?

Yes, and this is its main commercial benefit. Dividing one frame by its opposite-segment partner cancels flat-surface reflectance, because both frames see the same ink and the same colour. A white cap and a black cap of the same geometry produce nearly the same ratio image, so one optical setup serves mixed-colour production instead of one tune per colour. Calibrate each channel so a flat reference area divides to unity.

Can I capture all four illumination directions in one frame?

Not with one ring: the zones share one aperture around the lens, so they fire one after another and the camera stores a frame per direction. If the part cannot hold still, either fixture it for the sequence or move the directions into line scan form with parallel line lights. Where the part must move anyway, the capture has to be synchronized to the motion, which is its own design step.

What camera suits a segmented ring light setup?

A monochrome camera keeps the math simple, because every frame then uses the same spectrum. Eight-bit depth is enough when the flank-to-pattern ratio reaches four or better, as in the worked example, because the threshold sits far from both clusters in relative terms. Step up to ten or twelve bits when printed sheen varies or when low-angle frames run dim, so ratio noise stays small at the threshold.

Why does halation disappear in the height image?

A saturated highlight returns the same near-maximum count in every frame, no matter which zone fired. Its opposite-pair ratio therefore lands near 1.0, the same value a flat printed pixel gives, so the glare drops out of the combined slope image instead of blooming across the characters. Keep real flank peaks out of clipping, and glare spots simply stop participating in the math.

How do I keep the ratios repeatable across shifts?

Drive each zone from its own regulated channel and recalibrate the per-channel dimming against a flat reference as lamps age. Constant-current output holds LED output nearly fixed with temperature, and strobed overdrive restores the brightness that short exposures cost. Lock exposure and gain to manual values: any automatic adjustment rescales one frame and biases every ratio in the set.