Deep Depth from Focus with Differential Focus Volume

Fengting Yang, Xiaolei Huang, Zihan Zhou
12/3/2021
cs.CV

Official code: fuy34/DFV (38 stars, Python, PyTorch, last commit 2022-09-04).

Abstract

Depth-from-focus (DFF) is a technique that infers depth using the focus change of a camera. In this work, we propose a convolutional neural network (CNN) to find the best-focused pixels in a focal stack and infer depth from the focus estimation.

Show full abstract

The key innovation of the network is the novel deep differential focus volume (DFV). By computing the first-order derivative with the stacked features over different focal distances, DFV is able to capture both the focus and context information for focus analysis. Besides, we also introduce a probability regression mechanism for focus estimation to handle sparsely sampled focal stacks and provide uncertainty estimation to the final prediction. Comprehensive experiments demonstrate that the proposed model achieves state-of-the-art performance on multiple datasets with good generalizability and fast speed.

View on arXivView PDF

Code Implementations(1)

fuy34/DFVOfficial100%
PyTorch

[CVPR'22] DFVDFF: Deep Depth from Focus with Differential Focus Volume

384PythonDec 3, 20214 years agoNOASSERTION
depth-from-focusdffpytorchsffshape-from-focus

Similar Papers

Cite this paper

@article{yang2021deep,
  title  = {Deep Depth from Focus with Differential Focus Volume},
  author = {Fengting Yang and Xiaolei Huang and Zihan Zhou},
  year   = {2021},
  eprint = {2112.01712},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.01712}
}

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/2112.01712.svg)](https://codeofpaper.com/paper/2112.01712)

Discussion