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 about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext fed5a69b-07cf-4e0c-9dc0-65abbd2f293eCited 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
