atlas

Research map / 3D vision / Depth and stereo

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

NeurIPS 2025 · 3D vision › Depth and stereo · approach: Depth from light field and defocus · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes DualFocus, a depth-from-focus network that adds spatial variational constraints (integrable gradient surface reconstruction weighted by sharpness) and focal variational constraints (unimodal, monotonic focus probabilities) to reach state-of-the-art on NYU Depth v2, FoD500, and DDFF 12-Scene.

Problem

Depth-from-focus struggles in complex scenes with fine textures or abrupt depth changes, where focus cues are ambiguous or misleading.

Approach

Predict per-plane spatial gradients, project them onto integrable surfaces via least squares, supervise them only in in-focus regions, and add a bidirectional soft monotonicity loss so focus probabilities peak at one plane and decay on both sides.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use DualFocus instead of DFVNYU Depth v2 · NYU Depth v2RMSE: 0.094 -> 0.075Helped
use DualFocus instead of DFVFoD500 · FoD500Bump: 1.43 -> 1.31Helped
use DualFocus instead of HybridDepthDDFF 12-Scene · DDFF 12-SceneMSE: $5.1\times 10^{-4}$ -> $\mathbf{4.7} \bm{\times} \mathbf{10}^{\mathbf{-4}}$Helped
use DualFocus instead of HybridDepthARKitScenes validation · ARKitScenes validationRMSE: 0.29 -> 0.28Helped
add spatial and focal variational constraints (ablation)DualFocus · NYU Depth v2RMSE: 0.094 -> 0.075Helped
add spatial variational constraints (ablation)DualFocus · NYU Depth v2RMSE: 0.090 -> 0.075Helped
add focal variational constraints (ablation)DualFocus · NYU Depth v2RMSE: 0.078 -> 0.075Helped
project gradients onto integrable surfaces instead of directly supervising gradients (ablation)DualFocus · NYU Depth v2RMSE: 0.083 -> 0.075Helped
use sharpness weight q rather than no weighting (ablation)DualFocus spatial variational loss · NYU Depth v2RMSE: 0.077 -> 0.075Helped
use sharpness weight q rather than blurness weight 1-q (ablation)DualFocus spatial variational loss · NYU Depth v2RMSE: 0.079 -> 0.075Helped
increase gradient/surface resolution from 10 × 10 to 14 × 14 (ablation)DualFocus · NYU Depth v2RMSE: 0.079 -> 0.075Helped
increase gradient/surface resolution from 14 × 14 to 20 × 20 (ablation)DualFocus · NYU Depth v2RMSE: 0.075 -> 0.073Helped

Surprising findings

Limitations

Experimental setup

Datasets: NYU Depth v2 FoD500 DDFF 12-Scene ARKitScenes

Benchmarks: NYU Depth v2 FoD500 DDFF 12-Scene ARKitScenes

Metrics: MSE RMSE AbsRel SqRel delta1 delta2 delta3 Bumpiness log RMSE

Baselines: ZoeDepth VPD Marigold ECoDepth Depth Anything DefocusNet HybridDepth DFV RDF DDFF DistDepth ZeroDepth

Builds on: DFV VA-DepthNet HybridDepth

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy