Lune

NeurIPS2025Top-tier venue

DualFocus: Depth from Focus with Spatio-Focal Dual Variational Constraints

Sungmin Woo, Sangyoun Lee

Abstract

Depth-from-Focus (DFF) enables precise depth estimation by analyzing focus cues across a stack of images captured at varying focal lengths. While recent learning-based approaches have advanced this field, they often struggle in complex scenes with fine textures or abrupt depth changes, where focus cues may become ambiguous or misleading. We present DualFocus, a novel DFF framework that leverages the focal stack's unique gradient patterns induced by focus variation, jointly modeling focus changes over spatial and focal dimensions. Our approach introduces a variational formulation with dual constraints tailored to DFF: spatial constraints exploit gradient pattern changes across focus levels to distinguish true depth edges from texture artifacts, while focal constraints enforce unimodal, monotonic focus probabilities aligned with physical focus behavior. These inductive biases improve robustness and accuracy in challenging regions. Comprehensive experiments on four public datasets demonstrate that DualFocus consistently outperforms state-of-the-art methods in both depth accuracy and perceptual quality.

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.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Towards Zero-Shot Scale-Aware Monocular Depth Estimation cites Toward Practical Monocular Indoor Depth Estimation
  • Depth Anything: Unleashing the Power of Large-Scale Unlabeled Data cites Unleashing Text-to-Image Diffusion Models for Visual Perception
  • Depth Anything: Unleashing the Power of Large-Scale Unlabeled Data cites Towards Zero-Shot Scale-Aware Monocular Depth Estimation
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on12

  1. Depth Anything: Unleashing the Power of Large-Scale Unlabeled DataLihe Yang, Bingyi Kang, Zilong Huang, Xiaogang Xu et al.CVPR 2024 · 847 citations
  2. Unleashing Text-to-Image Diffusion Models for Visual PerceptionWenliang Zhao, Yongming Rao, Zuyan Liu, Benlin Liu et al.ICCV 2023 · 327 citations
  3. Towards Zero-Shot Scale-Aware Monocular Depth EstimationVitor Guizilini, Igor Vasiljevic, Dian Chen, Rares Ambrus et al.ICCV 2023 · 129 citations
  4. Toward Practical Monocular Indoor Depth EstimationCho-Ying Wu, Jialiang Wang, Michael Hall, Ulrich Neumann et al.CVPR 2022 · 68 citations
  5. 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

Related papers

  1. Deep Depth from Focus with Differential Focus VolumeFengting Yang, Xiaolei Huang, Zihan ZhouCVPR 2022 · 31 citations
  2. Learning Single Camera Depth Estimation Using Dual-PixelsRahul Garg, Neal Wadhwa, Sameer Ansari, Jonathan T. BarronICCV 2019 · 123 citations
  3. Fully Self-Supervised Depth Estimation from Defocus ClueHaozhe Si, Bin Zhao, Dong Wang, Yunpeng Gao et al.CVPR 2023
  4. Multi-Focus Image Fusion via Explicit Defocus Blur ModellingYuhui Quan, Xi Wan, Zitao Tang, Jinxiu Liang et al.AAAI 2025 · 12 citations
  5. DepthFocus: Controllable Depth Estimation for See-Through Scenesjunhong min, Jimin Kim, Minwook Kim, Cheol-Hui Min et al.CVPR 2026 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines