Deep Depth from Focus with Differential Focus Volume
Fengting Yang, Xiaolei Huang, Zihan Zhou
Abstract
Depth-from-focus (DFF) is a technique that infers depth using the focus change of a camera. In this work, we propose a convolutional neural network (CNN) to find the best-focused pixels in a focal stack and infer depth from the focus estimation. The key innovation of the network is the novel deep differential focus volume (DFV). By computing the first-order derivative with the stacked features over different focal distances, DFV is able to capture both the focus and context information for focus analysis. Besides, we also introduce a probability regression mechanism for focus estimation to handle sparsely sampled focal stacks and provide uncertainty estimation to the final prediction. Comprehensive experiments demonstrate that the proposed model achieves state-of-the-art performance on multiple datasets with good generalizability and fast speed.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
7 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Blurry-Edges: Photon-Limited Depth Estimation from Defocused Boundaries cites Focus on Defocus: Bridging the Synthetic to Real Domain Gap for Depth Estimation
- Boosting Monocular Metric Depth Estimation via Bokeh Rendering cites Focus on Defocus: Bridging the Synthetic to Real Domain Gap for Depth Estimation
- Boosting Monocular Metric Depth Estimation via Bokeh Rendering cites Blurry-Edges: Photon-Limited Depth Estimation from Defocused Boundaries
- Bridging Unsupervised and Supervised Depth from Focus via All-in-Focus Supervision cites Focus on Defocus: Bridging the Synthetic to Real Domain Gap for Depth Estimation
- Optical Model-Driven Sharpness Mapping for Autofocus in Small Depth-of-Field and Severe Defocus Scenarios cites Focus on Defocus: Bridging the Synthetic to Real Domain Gap for Depth Estimation
- DualFocus: Depth from Focus with Spatio-Focal Dual Variational Constraints cites Focus on Defocus: Bridging the Synthetic to Real Domain Gap for Depth Estimation
- DualFocus: Depth from Focus with Spatio-Focal Dual Variational Constraints cites Bridging Unsupervised and Supervised Depth from Focus via All-in-Focus Supervision
Cited by top-tier papers7
- DualFocus: Depth from Focus with Spatio-Focal Dual Variational ConstraintsSungmin Woo, Sangyoun LeeNeurIPS 2025 · 2 citations
- Optical Model-Driven Sharpness Mapping for Autofocus in Small Depth-of-Field and Severe Defocus ScenariosChen-Liang Fan, Mingpei Cao, Chih Chien Hung, Yuesheng ZhuICCV 2025 · 1 citation
- One-Step Event-Driven High-Speed AutofocusYuhan Bao, Shaohua Gao, Wenyong Li, Kaiwei WangCVPR 2025
- Blurry-Edges: Photon-Limited Depth Estimation from Defocused BoundariesWei Xu, Charles James Wagner, Junjie Luo, Qi GuoCVPR 2025
- Boosting Monocular Metric Depth Estimation via Bokeh RenderingHangwei Zhang, Armando Fortes, Tianyi Wei, Xingang PanICML 2026
Builds on6
- Digging Into Self-Supervised Monocular Depth EstimationClément Godard, Oisin Mac Aodha, Michael Firman, Gabriel J. BrostowICCV 2019 · 2,416 citations
- Bridging Unsupervised and Supervised Depth from Focus via All-in-Focus SupervisionNing-Hsu Wang, Ren Wang, Yu-Lun Liu, Yu-Hao Huang et al.ICCV 2021 · 44 citations
- UASNet: Uncertainty Adaptive Sampling Network for Deep Stereo MatchingYamin Mao, Zhihua Liu, Weiming Li, Yuchao Dai et al.ICCV 2021 · 34 citations
- Robustness via Cross-Domain EnsemblesTeresa Yeo, Oguzhan Fatih Kar, Amir ZamirICCV 2021 · 30 citations
- Focus on Defocus: Bridging the Synthetic to Real Domain Gap for Depth EstimationMaxim Maximov, Kevin Galim, Laura Leal-TaixéCVPR 2020
Related papers
- Fully Self-Supervised Depth Estimation from Defocus ClueHaozhe Si, Bin Zhao, Dong Wang, Yunpeng Gao et al.CVPR 2023
- Visualization of Convolutional Neural Networks for Monocular Depth EstimationJunjie Hu, Yan Zhang, Takayuki OkataniICCV 2019 · 91 citations
- Multi-Focus Image Fusion via Explicit Defocus Blur ModellingYuhui Quan, Xi Wan, Zitao Tang, Jinxiu Liang et al.AAAI 2025 · 12 citations
- Dense Metric Depth Estimation via Event-based Differential Focus Volume PromptingBoyu Li, Peiqi Duan, Zhaojun Huang, Xinyu Zhou et al.NeurIPS 2025
- SpiderCam: Low-Power Snapshot Depth from Differential DefocusMarcos A. Ferreira, Tianao Li, John Mamish, Josiah D. Hester et al.CVPR 2026 · 1 citation
