VidMap Bridges SLAM and SfM for Accurate 3D from Video

VidMap Bridges SLAM and SfM for Accurate 3D from Video

Zador Pataki, Paul-Edouard Sarlin, Marc Pollefeys

6 min readJul 30, 2026

ETH Zurich researchers built VidMap, a video reconstruction framework that combines the temporal awareness of SLAM with the global optimization of Structure-from-Motion (SfM) to turn ordinary smartphone videos into highly accurate 3D models. By explicitly separating sequential tracking from loop-closure observations and integrating metric depth priors, VidMap outperforms existing methods by an order of magnitude on challenging uncalibrated footage.

What the Researchers Built

VidMap is a non-causal reconstruction framework that processes entire video sequences offline, free from the real-time constraints of SLAM. The system takes uncalibrated monocular video—such as footage from a smartphone or AR device—and outputs accurate camera trajectories and 3D point clouds.

The core innovation lies in how VidMap handles two fundamentally different types of camera motion: smooth sequential motion between consecutive frames, and large jumps to previously visited locations (loop closures). Classical SfM treats all image pairs equally, while SLAM exploits temporal continuity but commits to incremental solutions that accumulate drift. VidMap preserves the temporal trust of sequential tracking without prematurely fixing geometry, then integrates this information into a global optimization framework borrowed from SfM.

VidMap's approach to chaining dense correspondences across video frames for robust long tracks

The system employs dense feature matching to extract sub-pixel precise tracks across hundreds of frames, leverages learned monocular depth priors to regularize degenerate configurations (pure rotation, forward motion, textureless surfaces), and separates sequential from loop-closure edges using provenance-dependent robust losses throughout camera pose estimation.

Key Results

On the LaMAR dataset—a challenging set of phone and AR device videos with complex motions, visual aliasing, and textureless surfaces—VidMap reduces trajectory drift by an order of magnitude compared to classical SfM approaches (GLOMAP, COLMAP) and state-of-the-art SLAM systems (DPV-SLAM, MASt3R-SLAM).

VidMap's accuracy is nearly identical whether given ground-truth camera calibration or estimating it automatically, demonstrating that its calibration estimation pipeline (using GeoCalib) is highly reliable. The system also outperforms methods that use monocular depth priors (ViPE, MegaSaM) on both calibrated and uncalibrated settings.

Ablation studies confirm that every component—dense sequential tracking, provenance-dependent loss weighting, depth-regularized global positioning, and robust loop closure—is critical to the overall performance. Removing any single element causes significant degradation.

Comparison of trajectory accuracy across different methods on the LaMAR dataset

How It Works

VidMap processes a video in three main stages:

1. Sequential feature tracking. Dense matchers (such as RoMa) extract point correspondences between consecutive keyframes with sub-pixel precision. The system uses keyframing and sliding-window propagation to chain these matches into long tracks spanning hundreds of frames. Because dense matching leverages the entire image context, it resolves the local ambiguities that confuse sparse matchers in low-texture regions.

2. Loop closure detection and matching. Global image descriptors (MegaLoc) retrieve candidate pairs from temporally distant views. These candidate pairs are then geometrically verified using the same dense matcher. Critically, sequential edges and loop-closure edges are treated differently throughout optimization using provenance-dependent robust losses.

3. Global mapping with depth priors. Building on the GLOMAP framework, VidMap estimates all camera poses simultaneously via rotation averaging, global positioning, and bundle adjustment. Two novel mechanisms are introduced: monocular depth priors with per-image scale estimation enable metric-scale reconstruction and regularize degeneracies; and the provenance-dependent losses ensure that untrusted loop-closure edges do not corrupt the reliable sequential geometry.

For uncalibrated videos, focal lengths are estimated in two stages: first independently per keyframe using GeoCalib, then jointly optimized across confident frames with a shared-intrinsics constraint.

Why This Matters for Robotics

VidMap’s ability to produce accurate 3D models from plain video has direct implications for robotics and automation. Industrial robots often need to map unknown environments without expensive sensors like LiDAR. A robot equipped with a single camera—common on used industrial robots—could run VidMap offline after a patrol to build a high-fidelity map of a warehouse or factory floor.

For warehouse robots navigating large corridors with repetitive textures, VidMap’s robustness to visual aliasing and degenerate forward motion is particularly valuable. The system’s ability to handle uncalibrated consumer cameras also means it could be deployed on low-cost inspection drones or handheld scanners without requiring factory calibration.

Beyond mapping, VidMap’s temporal-aware optimization could inspire better visual odometry systems that don’t sacrifice long-term consistency for real-time speed.

Limitations and Open Questions

VidMap cannot yet match the precision of visual-inertial systems, and long-range drift remains challenging without reliable loop closures. The system depends on learned priors (monocular depth, calibration estimation) that may fail for out-of-distribution imagery or unusual camera optics.

Geometric degeneracies like pure forward motion can lead the keyframing logic to select too few views, underconstraining the global solution. Additionally, if the video contains severe blur, occlusion, or sudden viewpoint changes, tracking can break entirely—and global optimization cannot recover missing correspondences.

Finally, VidMap is an offline batch process; adapting its temporal-aware approach to online or real-time settings remains an open question.

Frequently Asked Questions

What video input does VidMap require? Any monocular video—from a smartphone, AR device, or standard camera—without requiring calibration files or inertial measurements.

How does VidMap compare to SLAM systems? VidMap achieves significantly lower drift than SLAM on long sequences by optimizing all frames globally rather than incrementally, at the cost of being offline.

Can VidMap be used with any camera? Yes, as long as the camera falls within the training distribution of the learned depth and calibration priors.

Does VidMap output a 3D model or just camera poses? Both: it estimates camera trajectories and reconstructs a sparse 3D point cloud, which can be densified with additional post-processing.

Conclusion

VidMap marks a significant step forward in making accurate 3D reconstruction accessible from ordinary video footage. By bridging the strengths of sequential SLAM and global SfM, it opens the door to large-scale spatial understanding from the massive amount of video content already captured worldwide.

🍪 Cookie preferences

We use cookies to measure performance. Privacy Policy