ToF vs Stereo Cameras for Robotics: How to Evaluate the Tradeoffs

Plan-view schematic of ToF outgoing and return paths, and two stereo cameras viewing the same target point.

A mobile robot may need continuous depth across the floor ahead. A picking robot may need just enough detail around a part edge to choose a grasp. When comparing time-of-flight (ToF), passive stereo and active stereo, start with the part of the scene your robot needs to see. Test the same target under the lighting and motion the robot will encounter, then check how much of it each camera measures and when that depth reaches the robot software.

How ToF, passive stereo and active stereo produce depth

Time-of-flight cameras

A ToF camera illuminates the scene and measures the return across its field of view. Direct ToF can measure the time between an emitted pulse and its return. Indirect ToF can infer that delay from the phase shift of modulated light. The camera needs a usable return from the surface at the working distance.

Passive stereo

Passive stereo uses features already visible in the scene. It needs enough image information for the matching process to relate the two views. The difference in a feature’s image position, called disparity, provides the geometry for estimating depth with a calibrated camera pair. Uniform surfaces, repeated patterns and occlusions can make matching harder.

Active stereo

Active stereo adds projected texture to help the two cameras find matches. Depth still comes from disparity. Where matching relies on the projected pattern, check that it is visible in both views at the working distance and under the expected lighting.

Start with the robot task and scene

Define the physical region that needs depth and the smallest feature the software must resolve. For a bin-picking robot, include the part edge, the nearby bin wall and the area a gripper could hide. For an autonomous mobile robot (AMR), include the floor and the objects that matter along its approach, including the nearest point where the robot still needs depth.

Record the working distances, materials, lighting and expected motion. Decide what the software consumes, such as a depth map, a point cloud or RGB images paired with depth. Set a timing budget and identify how much processing the host can spare while the robot is running its other tasks.

Texture, reflectivity and missing depth

Texture is a different issue from target reflectivity. A visually plain surface can return useful ToF illumination even when passive stereo has few features to match. A dark or glossy surface needs its own check. The return at the camera and the appearance of the surface in the two stereo views depend on the material, angle and lighting.

Scene conditionToFPassive stereoActive stereo
Smooth or repetitive surfaceCheck return strength and valid depth across the interior.Check for missing or ambiguous matches.Check whether the projected features create distinct matches across the required region.
Dark material or low lightCheck the return from the actual material at the required distance.Check whether the cameras capture enough contrast at the exposure needed for the robot’s motion.Check whether the pattern returns with enough contrast in both views.
Glossy surface or depth edgeLook for gaps, readings displaced by reflections, and mixed depth at boundaries.Look for reflections that differ between views and features hidden from one camera.Check for the same two-view occlusions and inspect how reflections affect the projected features.

If the robot handles clear parts or moves near transparent panels, test those separately. Use the known scene geometry to see whether the camera measures the clear surface, reports depth from another surface or leaves a gap.

Ambient light and outdoor operation

Test the lighting transitions the robot will encounter, such as driving from a shaded loading area into direct sun. For ToF, check whether the camera can still separate the return from ambient light. For active stereo, look for regions where the projected pattern loses contrast. For passive stereo, inspect exposure, shadows and glare in both views. Record the lighting, direction and camera settings for each run so you can reproduce where depth drops out. The outdoor ToF camera guide covers lighting and installation checks for the ToF route.

Range, coverage and target sampling

Include the near limit and the smallest relevant target at the far limit. A wide field of view can cover more space while spreading image samples over a larger scene. Check how many samples fall on the feature itself, especially near the edge of the image.

Stereo adds two geometric constraints. The baseline, or spacing between the cameras, affects how much a feature shifts between their images at a given distance. The required surface also needs to be visible in both views. A bin wall or gripper can hide an edge from one camera even when the other has a clear view. For ToF, check the illuminated and sampled region from the intended mount, including narrow features next to a background at a different distance.

Once ToF is on the shortlist, use the ToF camera selection guide to work through coverage, resolution and host integration.

Motion, frame rate, latency and compute

Identify where depth is calculated and which data reaches the host. A stereo product may include its own processing, while another system expects host resources for image matching. ToF products also differ between raw samples and calculated depth output.

Run a static trial first, then repeat with the robot or target moving at the speeds relevant to the task. For stereo, check exposure blur and the timing of the two views. For ToF, inspect whether motion changes depth along edges during acquisition.

Measure from a defined capture event to the point when usable depth becomes available to the application. If the robot uses that depth later, record its age at consumption from the same capture event so the measurement includes time spent waiting in a queue. Use a shared clock or align the timestamps to the same time base. Record delivered frame rate separately.

Check host load while the rest of the robot software runs. When replacing a camera, compare the available streams, timestamps, calibration data and coordinate conventions, along with any driver or application changes.

Calibration, installation and long-term stability

Record the stereo cameras’ relative positions and angles, the calibration version and the final mounting arrangement. Repeat a reference-target check after installation or service that can shift the mount. For ToF, follow the model’s calibration procedure and check the installed unit with its final optics and cover window, if used. If the robot sees temperature changes or vibration, repeat the check under representative conditions and set a threshold for when the calibration needs attention.

Choose by application

Robot taskWhat to trial firstWhat could rule it out
AMR perceptionStart with passive stereo if the floor and obstacles have matchable detail and both views cover the approach corridor. Include active stereo or ToF where the corridor contains broad, plain surfaces.Look for depth gaps at the near floor or along the path through a turn. For mounting and route trials, see AMR depth camera installation and validation.
Manipulation or bin pickingTrial passive stereo on textured parts. For smooth parts, evaluate active stereo if both views can see the projected texture, and ToF if the grasp region returns usable depth.Check whether the bin wall or approaching gripper hides the grasp edge and whether depth stays usable around the part boundary.
Embedded or mobile robotsShortlist complete camera and processing setups that fit the mounting space and deliver the output the host needs. Include the space needed for both views in a stereo setup.Drop a candidate if the installed geometry misses the required region or the pipeline exceeds the host or timing budget under normal load.
Mixed indoor and outdoor scenesPrioritize passive stereo if natural features remain matchable across the lighting transition. Include active stereo or ToF where usable projected contrast or a usable return persists at the required distance.Watch for gaps in the required target region as the robot crosses the lighting boundary.

If ToF fits the task, explore ToF camera modules for depth or RGB-D cameras when the application also uses color.

Build a matched ToF-versus-stereo evaluation

Draw a target mask on the reference geometry before collecting camera data. Use one mask for the physical region the candidates can all observe and another for the full region the installed robot needs. Treat a target interior, a depth edge and a narrow or partly hidden feature as separate cases. A large flat area can otherwise hide poor coverage at a critical edge.

Use the same physical area or reference sampling grid for each candidate so different image resolutions share a common denominator. Count missing and rejected measurements against coverage, including blind spots in the full installed region. Compare depth error on valid samples in the shared region and read that error alongside coverage.

Matched-scene worksheet

Use one worksheet per scene. Set the acceptance criteria before the trial and repeat the same target, distance, lighting and motion for each candidate.

Shared setupYour trial
Target, material, texture, reflectivity if known, angle and distance
Lighting and direction, robot or target motion
Reference method and coordinate frame
Shared target mask, full required region, sampling basis and valid-depth rule
Depth convention, units and error metric
Capture event, timestamp basis and timing endpoints
Acceptance limits for both coverage measures, depth error, timing and host load

Choose one depth convention after aligning the outputs to the reference frame. For example, measure depth parallel to the reference camera’s optical axis or measure distance from the reference viewpoint along the viewing ray. Use the same convention for the reference and each candidate.

Record for each candidateToFPassive stereoActive stereo
Model, firmware, software and processing host
Mount, optics, calibration version and capture settings
Stereo baseline and projector state where applicable
Output stream and processing mode evaluated
Valid-depth coverage in shared target region
Valid-depth coverage across full required region with installed mount
Error on valid samples in shared region
Capture to usable depth at application
Age at consumption, if measured
Delivered frame rate and host load

Contact DOMI engineering with your target material, required output, working distances, lighting, motion, interface and compute budget. We can help you identify a ToF configuration to include in the evaluation.

Relevant DOMI ToF options

ModelEvaluation role and configuration
DMAS2M001For compact area-depth evaluation, this SPAD direct ToF array uses a 940 nm VCSEL and provides 40 × 30 depth at 10 fps. Its ranging specification is 0.2–8 m at 30 klux for targets with 10–90% reflectivity.
DMOM2808DEvaluate a board-level ToF path with 320 × 240 resolution, 850 nm illumination and two-lane MIPI CSI-2.
DM-RGBD5002AEvaluate a host workflow that uses geometry and color with VGA ToF depth and RGB over USB 2.0.

FAQs

What is the difference between ToF, passive stereo and active stereo?

ToF estimates depth from light return delay. Both stereo methods use matches between two calibrated views. Passive stereo relies on the features already in the scene. Active stereo adds a projected pattern you can check when natural texture is sparse.

Which depth camera works better on textureless surfaces?

If the surface has few features for passive stereo, try active stereo where the pattern is visible in both views and ToF where the material gives a usable return. Check coverage in the interior even when the camera measures the edge.

Is ToF or stereo better outdoors?

Compare candidates at the robot’s working distances through its actual shade-to-sun transition. Watch whether the required target region keeps usable depth as the illumination changes.

How do stereo baseline and ToF field of view affect working range?

Stereo baseline affects the shift a feature produces between the two views. Check for usable overlap nearby and enough disparity at the far distance. For ToF, check how many depth samples cover the smallest required feature at that distance and whether it returns usable depth within the field of view.

Which approach needs more processing?

Processing load depends on where depth is calculated and what data the host receives. Compare the host workload with the rest of the robot software running, especially if the host also performs stereo matching or depth processing.

How should ToF and stereo be compared on the same robot scene?

Use the same target mask and scene conditions for all candidates. Report valid-sample error beside shared-region coverage. Use the full installed coverage result to find blind spots outside the shared region.

Can an RGB-D camera use ToF depth?

Yes. RGB-D describes the color and depth outputs. The camera design determines how depth is measured. For example, DM-RGBD5002A pairs RGB imaging with VGA ToF depth.

All Articles