Bridging Unsupervised and Supervised Depth from Focus via All-in-Focus Supervision
Ning-Hsu Wang, Ren Wang, Yu-Lun Liu, Yu-Hao Huang, Yu-Lin Chang, Chia-Ping Chen, Kevin Jou
Abstract
Depth estimation is a long-lasting yet important task in computer vision. Most of the previous works try to estimate depth from input images and assume images are all-in-focus (AiF), which is less common in real-world applications. On the other hand, a few works take defocus blur into account and consider it as another cue for depth estimation. In this paper, we propose a method to estimate not only a depth map but an AiF image from a set of images with different focus positions (known as a focal stack). We design a shared architecture to exploit the relationship between depth and AiF estimation. As a result, the proposed method can be trained either supervisedly with ground truth depth, or unsupervisedly with AiF images as supervisory signals. We show in various experiments that our method outperforms the state-of-the-art methods both quantitatively and qualitatively, and also has higher efficiency in inference time.
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 d4ae922a-33be-41ba-b4a0-4380330aef72Cited by top-tier papers7
- Depth Anywhere: Enhancing 360 Monocular Depth Estimation via Perspective Distillation and Unlabeled Data AugmentationNing-Hsu Wang, Yu-Lun LiuNeurIPS 2024 · 56 citations
- Deep Depth from Focus with Differential Focus VolumeFengting Yang, Xiaolei Huang, Zihan ZhouCVPR 2022 · 31 citations
- CamEdit: Continuous Camera Parameter Control for Photorealistic Image EditingXinran Qin, Zhixin Wang, Fan Li, Haoyu Chen et al.NeurIPS 2025 · 17 citations
- Repurposing Marigold for Zero-Shot Metric Depth Estimation via Defocus Blur CuesChinmay Talegaonkar, Nikhil Gandudi Suresh, Zachary Novack, Yash Belhe et al.NeurIPS 2025 · 4 citations
- DualFocus: Depth from Focus with Spatio-Focal Dual Variational ConstraintsSungmin Woo, Sangyoun LeeNeurIPS 2025 · 2 citations
Builds on4
- Attention-Based View Selection Networks for Light-Field Disparity EstimationYu-Ju Tsai, Yu-Lun Liu, Ming Ouhyoung, Yung-Yu ChuangAAAI 2020 · 115 citations
- Focus on Defocus: Bridging the Synthetic to Real Domain Gap for Depth EstimationMaxim Maximov, Kevin Galim, Laura Leal-TaixéCVPR 2020
- Learning to AutofocusCharles Herrmann, Richard Strong Bowen, Neal Wadhwa, Rahul Garg et al.CVPR 2020
- Light Field Spatial Super-Resolution via Deep Combinatorial Geometry Embedding and Structural Consistency RegularizationJing Jin, Junhui Hou, Jie Chen, Sam KwongCVPR 2020
Related papers
- Fully Self-Supervised Depth Estimation from Defocus ClueHaozhe Si, Bin Zhao, Dong Wang, Yunpeng Gao et al.CVPR 2023
- Multi-Focus Image Fusion via Explicit Defocus Blur ModellingYuhui Quan, Xi Wan, Zitao Tang, Jinxiu Liang et al.AAAI 2025 · 12 citations
- Defocus Map Estimation and Deblurring from a Single Dual-Pixel ImageShumian Xin, Neal Wadhwa, Tianfan Xue, Jonathan T. Barron et al.ICCV 2021 · 47 citations
- Boosting Monocular Metric Depth Estimation via Bokeh RenderingHangwei Zhang, Armando Fortes, Tianyi Wei, Xingang PanICML 2026
- Lens Parameter Estimation for Realistic Depth of Field ModelingDominique Piché-Meunier, Yannick Hold-Geoffroy, Jianming Zhang, Jean-François LalondeICCV 2023 · 3 citations
