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

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Woo, Sungmin, Lee, Sangyoun
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866909808672636928
author Woo, Sungmin
Lee, Sangyoun
author_facet Woo, Sungmin
Lee, Sangyoun
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2509_21992
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle DualFocus: Depth from Focus with Spatio-Focal Dual Variational Constraints
Woo, Sungmin
Lee, Sangyoun
Computer Vision and Pattern Recognition
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.
title DualFocus: Depth from Focus with Spatio-Focal Dual Variational Constraints
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2509.21992