Zero-Shot Depth from Defocus
Not on the map. Why?
Abstract (arXiv)
Depth from Defocus (DfD) is the task of estimating a dense metric depth map from a focus stack. Unlike previous works overfitting to a certain dataset, this paper focuses on the challenging and practical setting of zero-shot generalization. We first propose a new real-world DfD benchmark ZEDD, which contains 8.3x more scenes and significantly higher quality images and ground-truth depth maps compared to previous benchmarks. We also design a novel network architecture named FOSSA. FOSSA is a Transformer-based architecture with novel designs tailored to the DfD task. The key contribution is a stack attention layer with a focus distance embedding, allowing efficient information exchange across the focus stack. Finally, we develop a new training data pipeline allowing us to utilize existing large-scale RGBD datasets to generate synthetic focus stacks. Experiment results on ZEDD and other benchmarks show a significant improvement over the baselines, reducing errors by up to 55.7%. The ZEDD benchmark is released at https://zedd.cs.princeton.edu. The code and checkpoints are released at https://github.com/princeton-vl/FOSSA.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 39 of its 55 references that are in the map. First posted on arXiv 27 Mar 2026.
Builds on
39 of 55 references.
References · 39
- 2017Attention Is All You Needcited by 59,932
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2021Vision Transformers for Dense Predictioncited by 1,789
- 2019Towards Robust Monocular Depth Estimation: Mixing Datasets for Zero-shot Cross-dataset Transfercited by 1,484
- 2025VGGT: Visual Geometry Grounded Transformercited by 1,475
- 2024Depth Anything V2cited by 1,385
- 2014Depth Map Prediction from a Single Image using a Multi-Scale Deep Networkcited by 1,264
- 2018Open3D: A Modern Library for 3D Data Processingcited by 717
- 2020Hypersim: A Photorealistic Synthetic Dataset for Holistic Indoor Scene Understandingcited by 593
- 2020TartanAir: A Dataset to Push the Limits of Visual SLAMcited by 494
- 2024Depth Pro: Sharp Monocular Metric Depth in Less Than a Secondcited by 395
- 2024Metric3Dv2: A Versatile Monocular Geometric Foundation Model for Zero-shot Metric Depth and Surface Normal Estimationcited by 389
27 more
- 2023Metric3D: Towards Zero-shot Metric 3D Prediction from A Single Imagecited by 357
- 2025MoGe-2: Accurate Monocular Geometry with Metric Scale and Sharp Detailscited by 250
- 2019DIODE: A Dense Indoor and Outdoor DEpth Datasetcited by 236
- 2025Video Depth Anything: Consistent Depth Estimation for Super-Long Videoscited by 202
- 2025UniDepthV2: Universal Monocular Metric Depth Estimation Made Simplercited by 170
- 2023Infinite Photorealistic Worlds using Procedural Generationcited by 142
- 2018Evaluation of CNN-based Single-Image Depth Estimation Methodscited by 137
- 2018DeepLiDAR: Deep Surface Normal Guided Depth Prediction for Outdoor Scene from Sparse LiDAR Data and Single Color Imagecited by 129
- 2024Infinigen Indoors: Photorealistic Indoor Scenes using Procedural Generationcited by 129
- 2022BokehMe: When Neural Rendering Meets Classical Renderingcited by 48
- 2020Single Image Depth Estimation Trained via Depth from Defocus Cuescited by 45
- 2020Focus on defocus: bridging the synthetic to real domain gap for depth estimationcited by 37
- 2017Deep Depth From Focuscited by 28
- 2024OMNI-DC: Highly Robust Depth Completion with Multiresolution Depth Integrationcited by 28
- 2021Bridging Unsupervised and Supervised Depth from Focus via All-in-Focus Supervisioncited by 23
- 2021Deep Depth from Focus with Differential Focus Volumecited by 20
- 2025Sharp Monocular View Synthesis in Less Than a Secondcited by 19
- 2022Is my Depth Ground-Truth Good Enough? HAMMER -- Highly Accurate Multi-Modal Dataset for DEnse 3D Scene Regressioncited by 18
- 2023Fully Self-Supervised Depth Estimation from Defocus Cluecited by 17
- 2023Tiled Multiplane Images for Practical 3D Photographycited by 14
- 2023Aberration-Aware Depth-from-Focuscited by 12
- 2024HybridDepth: Robust Metric Depth Fusion by Leveraging Depth from Focus and Single-Image Priorscited by 11
- 2022Deep Depth from Focal Stack with Defocus Model for Camera-Setting Invariancecited by 7
- 2021Multi-modal Bifurcated Network for Depth Guided Image Relightingcited by 6
- 2025Repurposing Marigold for Zero-Shot Metric Depth Estimation via Defocus Blur Cuescited by 3
- 2025Generative Refocusing: Flexible Defocus Control from a Single Imagecited by 3
- 2025DualFocus: Depth from Focus with Spatio-Focal Dual Variational Constraintscited by 1
Built on by
Not cited yet.