Structured Light vs Laser Triangulation for 3D Inspection

Written by Sciotex Engineering
In this article

Structured light and laser triangulation are both active 3D imaging methods that project light onto a part and measure how it deforms. The practical difference is motion: a laser line profiler measures one profile at a time and builds a 3D map as the part moves past, so it suits conveyors and scanning stages. A structured light sensor projects a sequence of patterns over the whole field and captures a full 3D point cloud of a part that is standing still.

Both are core tools in 3D machine vision. This article compares how they work, their accuracy, speed and limits, works through the timing for each, and gives a decision guide. For the laser method in more depth, see what a laser profilometer is.

How laser triangulation works

A laser projects a thin line across the part. A camera views the line from a known angle. Where the surface is higher, the line appears shifted in the image, and the sensor converts that shift into height using the triangulation geometry. Each camera frame yields one height profile across the line. Moving the part (or the sensor) and capturing profiles at fixed intervals, usually triggered by an encoder, stacks them into a 3D surface.

How structured light works

A projector shines known patterns, such as stripes, coded bars or sinusoidal fringes, across the whole field of view, and a camera at an angle records how the patterns bend over the surface. Coded patterns tell the system which stripe is which; phase-shifted fringes (fringe projection) measure position within each stripe with sub-pixel precision. Combining the images gives a height for every camera pixel in one capture sequence.

Side-by-side comparison

FactorLaser triangulation (line profiling)Structured light
Part motionPart or sensor must movePart must be still during the capture sequence
Data per captureOne profileA full 3D point cloud of the field
Typical useConveyors, extrusions, continuous products, long partsDiscrete parts at a station, robot picking, complex shapes
Ambient lightStrong: narrow laser wavelength plus optical filterMore sensitive; usually needs shielding
Finest detailLimited by laser speckle at the micron levelSub-micron is possible with LED fringe projection and suitable optics
Shiny surfacesDifficult: specular reflections and multiple bouncesAlso difficult; multiple exposures and pattern design help
OcclusionShadowing behind steps on one sideSimilar; extra cameras or projectors reduce it
Eye safetyDepends on laser classLED projectors raise no laser safety issue
Motion encoderNeeded for accurate spacing between profilesNot needed

Timing: a worked example for each

Laser line profiler on a conveyor

A part 200 mm long must be sampled every 0.1 mm along its length. That takes 200 ÷ 0.1 = 2,000 profiles. At a profile rate of 2,000 profiles per second, the scan takes 1 second, and the conveyor can run at 0.1 mm × 2,000 = 200 mm/s. Doubling the conveyor speed at the same profile rate doubles the spacing to 0.2 mm, so speed and resolution along the travel trade off directly.

Structured light at a station

A phase-shifting sensor might project 12 patterns. At 120 camera frames per second the capture takes 12 ÷ 120 = 0.1 seconds, plus processing time. The part must hold still for that tenth of a second, so the station needs an index, a stop or a robot that pauses, but it gets the entire surface in one shot without a motion stage.

Accuracy and resolution

  • Lateral resolution (across the surface) is set by camera pixels across the field of view for both methods; along the travel direction, a laser profiler is also set by profile spacing.
  • Height resolution depends on the triangulation angle, the optics and the sub-pixel algorithm. Larger angles increase sensitivity but cast more shadow.
  • Surface matters as much as the sensor. Dark, shiny, transparent or translucent materials scatter or absorb light and reduce data quality for both methods.
  • Calibration to a certified artifact, and verification against a master part, are what make the numbers trustworthy.

Which one should you use?

If your application…Better fit
Moves continuously on a conveyor, web or extrusion lineLaser triangulation
Is a long part scanned on a stageLaser triangulation
Is a discrete part that can stop at a stationStructured light
Needs robot guidance for bin pickingStructured light
Sits in bright or changing ambient lightLaser triangulation
Needs the finest detail on small, stationary featuresStructured light (fringe projection)
Has deep features, steep walls or many stepsEither, with more than one sensor or view angle

Sometimes neither is right. Passive stereo and time-of-flight cameras trade precision for range and speed, and some defects are not geometric at all: a material or temperature difference needs spectral or thermal imaging instead. Our guide’s section on machine vision imaging technologies compares the full set, and when to use 2D vs 3D covers the first decision.

Common mistakes

  • Choosing by datasheet resolution without testing on real parts and real surface finishes.
  • Running a laser profiler without an encoder, so profile spacing changes with conveyor speed.
  • Expecting structured light to work on moving parts, or in direct sunlight near a dock door.
  • Ignoring shadowing: one sensor cannot see both sides of a tall step.
  • Forgetting the data load: a dense point cloud for every part has to be processed and often stored.

See laser triangulation on your parts

The Sciotex benchtop 3D laser scanning system uses laser line profiling to scan parts on a linear stage at 0.1 mm resolution. We are vendor-neutral and also design structured light systems; free testing of your sample parts shows which method fits.

See the 3D laser scanner

Frequently asked questions

What is the difference between structured light and laser triangulation?

Laser triangulation measures one profile at a time from a laser line and builds a 3D map as the part moves. Structured light projects patterns over the whole field and captures a full 3D point cloud of a stationary part.

Is structured light more accurate than laser scanning?

It can be. LED fringe projection avoids laser speckle and can reach sub-micron detail on small fields of view, but accuracy in practice depends on the surface, the optics and the calibration of either system.

Can structured light scan moving parts?

Generally not. Most structured light sensors need the part to hold still for the capture sequence, usually a fraction of a second. Laser line profilers are designed for moving parts.

Why is laser triangulation better in ambient light?

A laser emits a narrow wavelength, so the camera can use a matching optical filter that blocks most ambient light. Broad LED patterns are easier to wash out.

Which 3D method is best for shiny parts?

Neither is easy. Specular surfaces reflect light away from the camera or create false reflections. Sensor angle, multiple exposures, polarization and sometimes a different method such as deflectometry are used.

Related articles

Written by

Sciotex Engineering

The Sciotex engineering team has designed and built vision, automation and test systems since 1997.

Have an inspection problem to solve?

Talk it through with a Sciotex engineer.

In this article
Have an inspection problem to solve?

Talk it through with a Sciotex engineer.

Next step

See what a vision system could do on your line