Shakes on a Plane: Unsupervised Depth Estimation from Unstabilized Photography

Ilya Chugunov, Yuxuan Zhang, Felix HeideCVPR 2022

Abstract

Modern mobile burst photography pipelines capture and merge a short sequence of frames to recover an enhanced image, but often disregard the 3D nature of the scene they capture, treating pixel motion between images as a 2D aggregation problem. We show that in a “long-burst”, forty-two 12-megapixel RAW frames captured in a two-second sequence, there is enough parallax information from natural hand tremor alone to recover high-quality scene depth. To this end, we devise a test-time optimization approach that fits a neural RGB-D representation to long-burst data and simultaneously estimates scene depth and camera motion. Our plane plus depth model is trained end-to-end, and performs coarse-to-fine refinement by controlling which multi-resolution volume features the network has access to at what time during training. We validate the method experimentally, and demonstrate geometrically accurate depth reconstructions with no additional hardware or separate data pre-processing and pose-estimation steps.

Introduction

Passive depth estimation—determining the distance of objects from standard photographs—traditionally relies on two distinct paradigms. Monocular methods utilize deep learning to infer depth from semantic context, but often lack metric precision. Conversely, multi-view stereo (MVS) exploits parallax from camera movement, yet typically requires significant baselines that are absent in casual handheld photography.

This research proposes a novel alternative: leveraging the "micro-baselines" generated by natural hand tremor during a standard burst capture. While mobile photography pipelines usually treat this motion as noise to be stabilized away, we demonstrate that these millimeter-scale shifts contain sufficient parallax information to reconstruct high-fidelity 3D geometry. By capturing a "long-burst" of 42 RAW frames over two seconds, we recover depth without specialized hardware or complex pre-processing steps like COLMAP, which often fail under such minimal motion.

Methods

The proposed approach is an unsupervised, test-time optimization framework that fits a neural RGB-D representation to the captured burst. Unlike supervised models, this system is optimized from scratch for every unique scene.

The proposed pipeline jointly optimizes a neural scene model and camera motion using multiresolution hash encoding and a plane-plus-depth prior.

Neural Scene Model

The scene is represented using a Multi-Layer Perceptron (MLP) combined with a multiresolution hash encoding. This structure enables the model to efficiently represent both global geometry and intricate surface details. To regularize the optimization, the scene is decomposed into a background plane and a learned foreground depth offset. This "plane plus depth" prior acts as a powerful geometric constraint, preventing the model from creating non-physical depth artifacts in regions with low parallax.

Joint Optimization and Motion Modeling

Rather than estimating discrete poses for each frame, the camera's trajectory is modeled as a continuous Bézier curve. This enforces physical smoothness and significantly reduces the parameter space. The system jointly optimizes for depth and camera motion by minimizing the photometric difference between the captured RAW frames and the model's projections. A coarse-to-fine refinement strategy is employed, where higher-frequency features in the hash encoding are gradually "unmasked" during training to ensure the model settles on a geometrically accurate solution.

Results

The method was validated using a custom iOS application to capture 12-megapixel RAW data, with ground truth provided by a professional structured light scanner.

Qualitative comparison of depth estimation results against various baselines across multiple scenes.

Our approach significantly outperforms both monocular baselines (e.g., MiDaS) and existing multi-view methods (e.g., BARF, DfUSMC). For instance, on a complex "Dragon" object, the method achieved a relative absolute error of 0.129, compared to 0.447 for MiDaS. Qualitatively, the model captures fine structures—such as dragon wings or thin plant needles—that other methods typically blur or misplace.

A key finding is the necessity of RAW data. Standard JPEGs undergo non-linear processing and denoising that destroy the subtle sub-pixel signals required for micro-baseline stereo. Working with 14-bit RAW data is essential for achieving this level of geometric precision.

Conclusion

"Shakes on a Plane" demonstrates that natural hand tremor is a feature, not a bug, providing a viable signal for high-quality 3D reconstruction. By jointly optimizing for motion and geometry, we can turn a shaky burst of photos into a detailed 3D model.

Current limitations include a high computational cost (approximately 15 minutes on an NVIDIA A100 GPU) and the assumption of a static scene. Future work will focus on accelerating the optimization process and extending the framework to handle dynamic elements and complex occlusions. Despite these challenges, this work establishes a new capability for high-fidelity 3D vision on ubiquitous mobile hardware.

Summary updated

BibTeX
@inproceedings{chugunov2022shakes,
  author = {Ilya Chugunov and Yuxuan Zhang and Felix Heide},
  title = {{Shakes on a Plane: Unsupervised Depth Estimation from Unstabilized Photography}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
  url = {https://openreview.net/forum?id=jW46CRAP2r},
}
Figure