A camera that moves through a world where nothing else moves can recover depth from its own motion: frames taken a second apart act like a stereo pair whose baseline, the distance between the two viewpoints, can be several meters. That is far wider than any camera rig, so distant static structure is measured more precisely than a fixed rig can manage. This trick rests on the static scene assumption, and it breaks on pedestrians and traffic. It also leaves the overall size of the scene unknown, because a single moving camera cannot distinguish a small nearby world from a large distant one. That is the monocular scale ambiguity. A physical stereo rig, meaning two cameras a fixed distance apart, has the opposite profile. It measures metric depth in a single instant, so object motion is irrelevant, but its short baseline makes far depth imprecise, and running dense matching on every pixel is expensive.
This note proposes a split in which each method handles the pixels it suits. Moving-camera ("temporal") depth handles the parts of the scene that actually obey the static assumption. Stereo matching runs densely only on the regions that violate it. The decision about where to run stereo is made by sparse stereo "probes": a few percent of pixels matched across the rig and compared against the temporal depth. Where probe and temporal depth agree after a single global rescaling, the pixel is static, and the agreement fixes metric scale. Where they disagree, something is moving, and dense stereo is triggered there. The central claim is that the right region for foreground-constrained stereo, the old idea of segmenting first and matching only inside the mask, is the set of pixels that violate the static assumption, not the set of pixels a detector labels "car" or "person." Choosing it this way yields metric scale, correct depth on moving and co-moving objects, and lower compute at the same time.
What exists and where it stops
Foreground-constrained stereo has a long history. Trinocular Stereo restricted correlation to background-subtracted foreground pixels and cut processing time by up to two-thirds. Subtraction-stereo pedestrian detectors such as Arie et al. report over 70% latency reduction. These systems motivate the compute argument, but they use fixed cameras and simple background models. Two learned descendants move the gate from pixels to objects. TLNet projects monocular 3D box proposals into both views. Disp R-CNN matches only inside instance masks, using rigid CAD shape priors, at 0.425 s per frame. Both gate on semantics and treat each frame in isolation. A parked car and a moving car therefore receive identical treatment, and anything outside the detector's vocabulary gets no stereo at all. We reuse their observation that per-region matching is cheaper and less ambiguous than full-frame matching. We replace their gate.
The static-assumption literature shows what happens when the assumption is violated and how others have repaired it. RobustSplat shows that moving objects make Gaussian-splatting reconstructions grow permanent spurious geometry. It protects the static scene by masking transients, and it discards the transients rather than measuring them. VDNeRF learns a static/dynamic split from monocular video via 3D scene flow, and it correctly keeps parked cars in the static field. However, it is a slow per-scene optimization and its output has arbitrary scale. Detecting Dynamic Objects with Multi-view Background Subtraction finds movers as violations of a precomputed static 3D map, which is the closest precedent for our gating principle. It needs an offline map, though, and it never measures the movers' metric depth. Our gate detects violations online, and the same stereo measurements that detect them also reconstruct them.
On scale, Monocular Visual-Inertial Depth Estimation aligns relative depth to sparse metric points by least squares. The research file notes that this alignment drifts when anchors land on moving objects. LiDARTouch uses a 4-beam LiDAR to fix scale and eliminates the "catastrophic distance" failure. In that failure, self-supervised monocular depth places a vehicle moving with the ego-car at infinite depth, because it shows no apparent motion. Monodepth2's rate of this failure is 5.02%, and LiDARTouch reduces it to 0.0%. Metric3D v2 predicts metric depth from single images when the focal length is known. These papers constrain our design in two ways. Scale anchors must be screened for motion, and co-moving objects must be caught by something other than photometric consistency, because they are photometrically consistent at infinite depth.
Core claim
Sparse stereo probes compared against temporal depth give a single test with three outputs. It yields a metric scale for the static scene, a mask of static-assumption violations that includes co-moving objects, and a small region on which dense stereo is worth its cost. Concretely, let $d_t(p)$ be the relative, unscaled depth from the temporal module at probe pixel $p$, and $d_s(p)$ the metric depth from stereo at the same pixel. We fit one scale $s$ by
$$ s^\ast = \arg\min_s \sum_{p \in P} \rho\big(\log d_s(p) - \log s - \log d_t(p)\big), $$
where $P$ is the probe set and $\rho$ is a robust loss (Huber, or a consensus threshold as in RANSAC). Because most pixels in a driving or walking scene are static, the fit locks onto the static majority. Probes whose residual stays large after the fit are violations.
A co-moving car is exactly such a violation. The temporal module assigns it near-infinite depth, while stereo measures a finite disparity. The mask is grown from violating probes, for example by flood-filling over temporal-depth discontinuities and appearance edges. Dense, class-agnostic region stereo then runs only inside it. Stereo is instantaneous, so this works for articulating pedestrians as well as rigid cars and needs no shape prior. This sidesteps the rigid-category restriction of Disp R-CNN.
Research program
The system has four parts, all trained or run on the same data. The temporal module is a multi-frame self-supervised depth network with ego-motion estimated from the currently-static pixels. We will test two variants, one initialized from a monocular prior and one without. The probe stage matches a fixed budget of pixels, swept from roughly 0.5% to 5%. Probes are placed on a grid biased toward temporal-depth discontinuities and low-parallax regions, since that is where co-moving objects hide. The region stage runs a stereo network on crops of the violation mask, in the spirit of Disp R-CNN's per-instance matching but without category labels. Finally, fusion writes region-stereo depth into the violating pixels and scaled temporal depth everywhere else. The violation mask is also fed back so that the next frame's ego-motion and temporal-depth losses ignore moving pixels. This feedback is where the method repairs the static assumption instead of merely detecting its failure.
The analysis centers on one hypothesis: accuracy should favor temporal depth for static far pixels and stereo for moving pixels. The first follows from triangulation error growing with depth squared divided by baseline. Temporal baselines at driving speed exceed the rig baseline for most frame gaps. The second follows because temporal depth is simply undefined for moving objects. We will measure the crossover as a function of distance, speed, and frame gap. We will also study probe budget against recall of violations, since a missed mover is the method's characteristic failure. In addition, we run a controlled synthetic study that varies the rig baseline from phone-like to automotive, with rendered data. We expect the advantage of temporal depth on static regions to grow as the rig baseline shrinks, and this study would confirm or refute that.
Baselines
The naive reference point is temporal depth everywhere, scaled by the same probes but with no gating and no dense stereo. This is the static assumption applied blindly with metric scale added. It isolates what gating buys, and it should reproduce the catastrophic-distance failure. Monodepth2's reported rate of 5.02% (from LiDARTouch) is the expected neighborhood for this failure, and we will measure it with the same definition. Beating this baseline means a catastrophic-distance rate near zero with no loss on static pixels.
The strongest competitor on accuracy is full-frame dense stereo: the same stereo network used in our region stage, run on every pixel of the rig, with the same training data and tuning budget. If our method cannot beat or match this baseline, it has nothing to say beyond compute. No reported result was found on Lacuna for a full-frame deep stereo network on KITTI depth metrics, so we will train and report it ourselves. To beat it, we must match its error on moving objects, show lower error on static pixels beyond a crossover distance, and do so while densely matching a small fraction of pixels at lower measured latency.
The strongest single-camera competitor is Metric3D v2, which reports Abs Rel 0.044 zero-shot on KITTI with a ViT-Large backbone. We will run it with KITTI's true intrinsics, which is its most favorable setting, and also with the focal length withheld. Beating it means lower Abs Rel on the moving-object split and lower frame-to-frame depth jitter on tracked objects.
The sensor alternative is LiDARTouch, which reports RMSE 2.504 m and catastrophic-distance rate 0.0% with 4 beams, against 2.112 m with 64-beam supervision. We will compare against these reported numbers on its KITTI protocol, and retrain it if the splits differ. Matching its catastrophic-distance rate without a laser is the target.
The key ablation replaces our disagreement gate with a semantic gate: instance masks from an off-the-shelf detector, as in Disp R-CNN. All other components stay fixed, including the probe budget and the region stereo. This ablation isolates the proposal's central ingredient.
Why not just…?
Why not just run full-frame stereo, since GPUs are fast? This is the real threat, and we treat it as such. On KITTI's wide-baseline rig, full stereo may already be good enough at near and mid range, and our advantage would then be mainly compute. The distance-binned comparison settles it. If full stereo matches us on static pixels at every distance and latency is not binding, the accuracy claim fails, and the contribution shrinks to efficient gating on embedded hardware. The synthetic short-baseline study is where we expect the gap to be largest, and we will report it separately rather than folding it into the KITTI result.
Why not just use Metric3D v2 per frame and skip stereo? It needs the focal length, which the file notes is often missing in real video. It also predicts each frame independently, so depth on a moving object can jitter over time. Neither issue is fatal on KITTI with known intrinsics, so we test both conditions and measure temporal consistency directly. A stronger variant, Metric3D v2 corrected by our stereo probes, is also worth running. If that variant equals the full system, the dense region stage is unnecessary, and we would report this outcome.
Why not just mask detected cars and people? Semantic masks remove parked cars, which are useful static constraints. VDNeRF documents this failure. They also miss movers outside the detector's classes, and they spend dense stereo on stationary instances. The semantic-gate ablation measures all three effects: violation recall, ego-motion error, and the fraction of pixels matched.
Why not just add a 4-beam LiDAR? It works, as LiDARTouch shows. However, it adds an active sensor, and its sparse points need the same motion screening that our probes perform. Our comparison asks whether a second camera, used sparingly, reaches the same catastrophic-distance rate.
Proposed experiments and decisive checks
The main experiments use KITTI (Geiger et al.) raw stereo sequences with LiDAR ground truth. Static and dynamic pixels are split using KITTI's scene-flow and tracking annotations. We report Abs Rel and RMSE separately for static and dynamic pixels, binned by distance. We also report the catastrophic-distance rate as defined by LiDARTouch, ego-motion drift, the fraction of pixels densely matched, and wall-clock latency. The synthetic baseline sweep tests the regime claim.
Three outcomes would decide the proposal. First, the disagreement gate must beat the semantic gate on violation recall and on ego-motion error, or the central claim fails. Second, the ungated temporal baseline must show a nonzero catastrophic-distance rate that our method drives to near zero, which shows the probes catch co-moving objects. Third, a static-pixel crossover distance must exist beyond which scaled temporal depth beats full-frame stereo. If no crossover appears at any tested baseline, splitting the scene by method buys nothing beyond compute, and we would say so.
References
- Trinocular Stereo: A Real-Time Algorithm and its Evaluation
- Human Detection Using Multiple Classifiers Based on Subtraction Stereo with HOG Features
- Triangulation Learning Network: From Monocular to Stereo 3D Object Detection.
- Disp R-CNN: Stereo 3D Object Detection via Shape Prior Guided Instance Disparity Estimation
- RobustSplat: Decoupling Densification and Dynamics for Transient-Free 3DGS
- VDNeRF: Vision-only Dynamic Neural Radiance Field for Urban Scenes
- Detecting Dynamic Objects with Multi-view Background Subtraction
- Monocular Visual-Inertial Depth Estimation
- LiDARTouch: Monocular metric depth estimation with a few-beam LiDAR
- Metric3D v2: A Versatile Monocular Geometric Foundation Model for Zero-shot Metric Depth and Surface Normal Estimation
- Are we ready for autonomous driving? The KITTI vision benchmark suite