MegaSaM: Accurate, Fast, and Robust Structure and Motion from Casual Dynamic Videos
About
We present a system that allows for accurate, fast, and robust estimation of camera parameters and depth maps from casual monocular videos of dynamic scenes. Most conventional structure from motion and monocular SLAM techniques assume input videos that feature predominantly static scenes with large amounts of parallax. Such methods tend to produce erroneous estimates in the absence of these conditions. Recent neural network-based approaches attempt to overcome these challenges; however, such methods are either computationally expensive or brittle when run on dynamic videos with uncontrolled camera motion or unknown field of view. We demonstrate the surprising effectiveness of a deep visual SLAM framework: with careful modifications to its training and inference schemes, this system can scale to real-world videos of complex dynamic scenes with unconstrained camera paths, including videos with little camera parallax. Extensive experiments on both synthetic and real videos demonstrate that our system is significantly more accurate and robust at camera pose and depth estimation when compared with prior and concurrent work, with faster or comparable running times. See interactive results on our project page: https://mega-sam.github.io/
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Video Depth Estimation | Sintel (test) | Delta 1 Accuracy74.6 | 57 | |
| Video Depth Estimation | Bonn (test) | Abs Rel0.04 | 37 | |
| Novel View Synthesis | D-RE10K static regions only (test) | PSNR20.66 | 26 | |
| Novel View Synthesis | D-RE10K-iPhone full-image fidelity (test) | PSNR19.98 | 26 | |
| Camera Tracking | BONN dynamic sequences | Balloon Error3.7 | 25 | |
| Video Depth Estimation | KITTI (test) | -- | 25 | |
| Camera movement understanding | CameraBench 10K-sample VQA subset 1.0 (test) | Translation (In) Error73.8 | 24 | |
| Camera Tracking | TUM dynamic scene sequences RGB-D (test) | f3/w_s ATE (cm)0.6 | 17 | |
| Camera pose estimation | Sintel 14-sequence | ATE0.074 | 15 | |
| Motion Segmentation | D-RE10K | mIoU35.4 | 11 |