English

Bridging Unsupervised and Supervised Depth from Focus via All-in-Focus Supervision

Computer Vision and Pattern Recognition 2021-08-25 v1

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 \emph{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.

Keywords

Cite

@article{arxiv.2108.10843,
  title  = {Bridging Unsupervised and Supervised Depth from Focus via All-in-Focus Supervision},
  author = {Ning-Hsu Wang and Ren Wang and Yu-Lun Liu and Yu-Hao Huang and Yu-Lin Chang and Chia-Ping Chen and Kevin Jou},
  journal= {arXiv preprint arXiv:2108.10843},
  year   = {2021}
}

Comments

ICCV 2021. Project page: https://albert100121.github.io/AiFDepthNet/ Code: https://github.com/albert100121/AiFDepthNet

R2 v1 2026-06-24T05:23:14.237Z