Repurposing Marigold for Zero-Shot Metric Depth Estimation via Defocus Blur Cues
Chinmay Talegaonkar, Nikhil Gandudi Suresh, Zachary Novack, Yash Belhe, Priyanka Nagasamudra, Nicholas Antipa
TL;DR
Monocular metric depth estimation faces depth-scale ambiguity and poor zero-shot generalization. The paper repurposes a pre-trained diffusion prior, Marigold, by injecting defocus blur cues from two aperture images at inference and performing training-free optimization of metric depth scale and latent representations under a physics-based forward model. Formulated as an inverse problem with a defocus forward model, the approach achieves improved metric depth accuracy on a real, hardware-captured dataset while maintaining a strong generative prior. This training-free, physics-guided refinement widens the applicability of diffusion priors to metric depth tasks and offers a practical route to leverage depth cues without retraining.
Abstract
Recent monocular metric depth estimation (MMDE) methods have made notable progress towards zero-shot generalization. However, they still exhibit a significant performance drop on out-of-distribution datasets. We address this limitation by injecting defocus blur cues at inference time into Marigold, a \textit{pre-trained} diffusion model for zero-shot, scale-invariant monocular depth estimation (MDE). Our method effectively turns Marigold into a metric depth predictor in a training-free manner. To incorporate defocus cues, we capture two images with a small and a large aperture from the same viewpoint. To recover metric depth, we then optimize the metric depth scaling parameters and the noise latents of Marigold at inference time using gradients from a loss function based on the defocus-blur image formation model. We compare our method against existing state-of-the-art zero-shot MMDE methods on a self-collected real dataset, showing quantitative and qualitative improvements.
