Two 3D cameras on a metal rail

What is the difference between ToF, stereo vision and structured light?

Abstract

Time-of-flight (ToF), stereo vision and structured light differ primarily in their measurement principle, accuracy and suitability for specific applications.

ToF is particularly suitable for fast 3D acquisition in real time and moving objects.

Stereo vision is useful when precise point clouds and a flexible measurement range are required.

Structured light offers the highest level of detail and is often used for measurement and inspection.

Which method suits best depends on requirements such as speed, accuracy, range and ambient light.

Why is depth data needed?

In industrial image processing, two-dimensional images are often insufficient. Applications such as bin picking, robotics, quality control or autonomous navigation require additional depth data to reliably determine distances, positions and spatial extent of objects. As a result, machines can not only identify which objects are in a scene or which features they have, but also detect their spatial location, distance and volume. This enables precise robot control, for example.

Time-of-flight (ToF), stereo vision and structured light take different technical approaches to depth detection. However, they share a common result: They generate depth maps or three-dimensional point clouds from which spatial information can be derived.

Industrial container with a colored 3D analysis inset

How does time-of-flight (ToF) work?

Time-of-flight cameras operate on the principle of active distance measurement. The camera emits light and measures how long it takes for the light (usually from a laser) to reach the object and return to the sensor. The distance to the object can be calculated from this information.

In principle, a distinction is made between direct and indirect time-of-flight measurement. In direct time-of-flight measurement, the actual time required for the light to travel to the object and back is determined. However, industrial ToF cameras are often based on the so-called indirect time-of-flight (iToF). In this method, the distance is calculated from the phase shift between the emitted and received light signal.

A significant advantage of ToF systems is that the depth information for each pixel can be captured simultaneously. With iToF, high image resolutions with very high frame rates are possible. This makes ToF cameras particularly suitable for fast processes and moving objects.

Strengths of time-of-flight

  • Fast 3D acquisition in real time
  • Depth information for all pixels in one image
  • Well suited for moving objects
  • Comparatively simple system integration
  • Robust distance measurement over larger working ranges
  • Cost-effective solution for many industrial 3D applications

Limitations of time-of-flight

  • Typically lower accuracy than high-resolution stereo or structured light systems
  • Multipath effects can influence measurement results
  • Reflective surfaces can reduce measurement quality
  • Dependence on active lighting
  • Measuring range is limited by sensor and lighting technology
Compact camera beneath a metal rail in an industrial setting

How does stereo vision work?

Stereo Vision is based on human vision and uses at least two cameras that capture the same scene from different angles. The depth is calculated from the image differences using triangulation. The distance of an object is determined based on geometric relationships between the camera positions.

In passive stereo vision, depth determination is performed exclusively on the basis of existing image features. The method works particularly well when the surface of an object has sufficient structure or texture.

Active stereo vision systems are often used for low-texture, monochrome or reflective surfaces. A projector projects a random or defined point pattern onto the scene, so that the depth calculation works reliably even under difficult conditions.

Active stereo vision thus forms bridges the gap between traditional stereo vision and structured light. Modern industrial 3D cameras combine the advantages of triangulation with targeted texture projection.

Strengths of stereo vision

  • High measurement accuracy, robustness
  • Detailed point clouds
  • Flexible adaptation to different measurement ranges
  • Ideally suited for bin picking
  • Active stereo also works on low-texture (smooth or monochrome) objects

Limitations of stereo vision

  • Calibration is more complex than with ToF systems
  • Higher computing load
  • Passive stereo requires sufficient surface structure
  • Hidden areas can cause data gaps
  • Moving objects can influence the measurement quality
  • More sensitive to ambient light
Ensenso XR camera with two IDS cameras on a metal rail

How does structured light work?

Structured light systems project defined light patterns onto an object. Typical patterns include stripes, lines or grid structures. A camera then detects the deformation of these patterns on the object surface.

As the shape and position of the projected pattern are known, the geometry of the object can be calculated with high precision. Structured Light is also based on triangulation, but additionally uses the active projection of a known pattern.

The controlled projection enables highly detailed surface reconstructions to be generated This is why structured light is often used for surveying and inspection tasks.

Strengths of structured light

  • Very high measurement accuracy
  • Detailed reconstruction of surfaces
  • High resolution of 3D data
  • Suitable for surveying and inspection tasks
  • Excellent results with small to medium-sized objects

Limitations of structured light

  • Sensitive to strong ambient light
  • Moving objects make measurement difficult
  • Mostly limited range
  • Additional projector required
  • Higher system complexity
Camera checks objects on a rail from above

How do ToF, stereo vision and structured light differ?

Criterion

ToF

Stereo vision

Structured light

Measurement principle

Time-of-flight or phase shift

Triangulation using multiple camera images

Pattern projection and triangulation

Range

medium to high

flexible

short to medium

Precision

medium to high

High

Very high

Moving objects

very well suited

well suited

limited

Ambient light / outdoor

well suited

well suited

less suitable

Texturless surfaces

well suited

well suited (active) / limited suitability (passive)

very well suited

System complexity

low

medium

High

Relative costs

low

medium

medium to high

Which 3D process should I choose?

When fast depth acquisition in real time is required and moving objects also need to be reliably detected, time-of-flight is often the first choice. The method provides depth data with just one capture, is often comparatively cost-effective to implement and is well-suitable for robotics, logistics and automation applications.

When high-resolution point clouds and precise 3D data are required, stereo vision often offers the best balance between accuracy and flexibility. Active stereo vision systems also enable the reliable detection of objects with low surface texture and have become well-established in bin picking.

Where maximum measurement accuracy and a particularly detailed reconstruction of surfaces are required, structured light is frequently used. The method is particularly suitable for surveying, testing and inspection tasks.

The choice of the appropriate 3D method depends on the requirements of the respective application. Decisive factors are such as accuracy, speed, range and environmental conditions.

Application

Recommendation

Justification

Bin Picking

Stereo vision

Provides detailed point clouds for reliable object and grip point detection.

Palletizing and logistics

ToF or stereo vision

Large workspaces and fast 3D scanning are in the priority.

Quality control

Structured light

Particularly suitable for precise geometric and surface measurements.

Robotics and navigation

ToF

Real-time distance measurement even in dynamic environments.

Medical measurement

Stereo Vision or structured light

High accuracy in capturing surface structures.

Agriculture and outdoor applications

ToF

Well-suited for longer distances and changing environmental conditions.

Which IDS products supports these methods?

IDS offers both 3D cameras based on time-of-flight and active stereo vision systems, thereby enabling solutions for a wide spectrum of industrial 3D applications.

Ensenso: active stereo vision for precise 3D data

Ensenso cameras are based on active stereo vision and combine stereo cameras with integrated texture projection. As a result, even objects with little surface structure can be reliably detected.

For applications such as bin picking, robotics or automation, the FlexView technology also supports the generation of denser and more complete point clouds by merging multiple images.

Typical applications

  • Bin picking
  • Robotics
  • Automation
  • Object recognition
  • Quality control

Find out more:

Nion: indirect time-of-flight for real-time 3D capture

Nion 3D ToF cameras are based on the indirect time-of-flight method and provide high-resolution depth data in real time. The integrated 1.2 MP ToF sensor enables fast and reliable 3D capture even with moving objects and in challenging environmental conditions.

With IP code IP67 and outdoor suitability, the cameras are optimally designed for industrial applications in areas such as logistics, robotics and automation.

Typical applications

  • Mobile robotics
  • Logistics
  • Navigation
  • Palletizing
  • Automation

Find out more:

How does IDS cover structured light applications?

Many applications that are traditionally implemented with structured light systems can now also be realized with active stereo vision. By combining triangulation and texture projection, Ensenso systems cover a wide range of application such as bin picking, robotics and industrial 3D inspection.

Our team will be happy to assist you with any questions you may have about selecting the appropriate 3D process or implementing specific applications.

IDS, Oliver Senghaas
Oliver Senghaas
Head of Marketing

Since 2011, Oliver Senghaas has served as Head of Marketing at IDS, driving the company’s global marketing strategy. He is responsible for corporate communications, brand management, digital campaigns, the content and functional development of the company websites and B2B web store, as well as the creation of technical documentation. His focus is on combining technology and creativity to position IDS clearly in the field of industrial image processing.

Vision Channel
Videos and live sessions about machine vision.

Your project
How can we support you in your project? Together we will find the right solution for you!

Newsletter
Stay up to date and subscribe to our newsletter.