Towards Real-World Focus Stacking with Deep Learning

Alexandre Araujo, Jean Ponce, Julien Mairal
11/29/2023
5 citations
cs.CV

Official code: araujoalexandre/FocusStackingDataset (18 stars, Python, last commit 2024-01-22).

Abstract

Focus stacking is widely used in micro, macro, and landscape photography to reconstruct all-in-focus images from multiple frames obtained with focus bracketing, that is, with shallow depth of field and different focus planes. Existing deep learning approaches to the underlying multi-focus image fusion problem have limited applicability to real-world imagery since they are designed for very short image sequences (two to four images), and are typically trained on small, low-resolution datasets either acquired by light-field cameras or generated synthetically.

Show full abstract

We introduce a new dataset consisting of 94 high-resolution bursts of raw images with focus bracketing, with pseudo ground truth computed from the data using state-of-the-art commercial software. This dataset is used to train the first deep learning algorithm for focus stacking capable of handling bursts of sufficient length for real-world applications. Qualitative experiments demonstrate that it is on par with existing commercial solutions in the long-burst, realistic regime while being significantly more tolerant to noise. The code and dataset are available at https://github.com/araujoalexandre/FocusStackingDataset.

View on arXivView PDF

Code Implementations(1)

180Python, ShellMar 9, 20222 years ago

Similar Papers

Cite this paper

@article{araujo2023towards,
  title  = {Towards Real-World Focus Stacking with Deep Learning},
  author = {Alexandre Araujo and Jean Ponce and Julien Mairal},
  year   = {2023},
  eprint = {2311.17846},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.17846v1}
}

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

Discussion