Fully Self-Supervised Depth Estimation from Defocus Clue

Haozhe Si, Bin Zhao, Dong Wang, Yupeng Gao, Mulin Chen +2 more
2/14/2026

No official code found. Best implementation: Ehzoahis/DEReD (50 stars, last commit 2023-06-03).

Abstract

Depth-from-defocus (DFD), modeling the relationship between depth and defocus pattern in images, has demonstrated promising performance in depth estimation. Recently, several self-supervised works try to overcome the difficulties in acquiring accurate depth ground-truth. However, they depend on the all-in-focus (AIF) images, which cannot be captured in real-world scenarios. Such limitation discourages the applications of DFD methods. To tackle this issue, we propose a completely self-supervised framework that estimates depth purely from a sparse focal stack. We show that our framework circumvents the needs for the depth and AIF image ground-truth, and receives superior predictions, thus closing the gap between the theoretical success of DFD works and their applications in the real world. In particular, we propose (i) a more realistic setting for DFD tasks, where no depth or AIF image ground-truth is available; (ii) a novel self- supervision framework that provides reliable predictions of depth and AIF image under the challenging setting. The proposed framework uses a neural model to predict the depth and AIF image, and utilizes an optical model to validate and refine the prediction. We verify our framework on three benchmark datasets with rendered focal stacks and real focal stacks. Qualitative and quantitative evaluations show that our method provides a strong baseline for self- supervised DFD tasks. The source code is publicly avail- able at https://github.com/Ehzoahis/DEReD.

View on arXivView PDF

Code Implementations(1)

Ehzoahis/DEReDCommunity67%

The Offical Codebase for Fully Self-Supervised Depth Estimation from Defocus Clue

508C++, CudaFeb 15, 20233 years ago

Similar Papers

Cite this paper

@article{si2026fully,
  title  = {Fully Self-Supervised Depth Estimation from Defocus Clue},
  author = {Haozhe Si and Bin Zhao and Dong Wang and Yupeng Gao and Mulin Chen and Zhigang Wang and Xuelong Li},
  year   = {2026},
  eprint = {2303.10752},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2303.10752},
  journal = {CVPR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2303.10752.svg)](https://codeofpaper.com/paper/2303.10752)

Discussion