Towards Real-World Focus Stacking with Deep Learning
Not on the map. Why?
Abstract (arXiv)
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. 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.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 12 of its 72 references that are in the map. First posted on arXiv 29 Nov 2023.
Builds on
12 of 72 references.
References · 12
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2018Deformable ConvNets v2: More Deformable, Better Resultscited by 666
- 2019EDVR: Video Restoration with Enhanced Deformable Convolutional Networkscited by 492
- 2018Unprocessing Images for Learned Raw Denoisingcited by 250
- 2018Synthetic Depth-of-Field with a Single-Camera Mobile Phonecited by 70
- 2018Wide Activation for Efficient and Accurate Image Super-Resolutioncited by 64
- 2017Deep Depth From Focuscited by 28
- 2019SESF-Fuse: An Unsupervised Deep Model for Multi-Focus Image Fusioncited by 13
- 2020MFFW: A new dataset for multi-focus image fusioncited by 13
- 2019An α-Matte Boundary Defocus Model Based Cascaded Network for Multi-focus Image Fusioncited by 7
- 2019Boundary Aware Multi-Focus Image Fusion Using Deep Neural Networkcited by 1
Built on by
Citing papers per year: 2024: 1; 2025: 2.
3 papers.
- 2025After the Party: Navigating the Mapping From Color to Ambient Lightingcited by 4
- 2024Optimal Sample Lens Positioning in Digital Camera Systemscited by 0
- 2025Generative Multi-Focus Image Fusioncited by 0
- 2025Generative Multi-Focus Image Fusion25 Dec 2025
- 2025After the Party: Navigating the Mapping From Color to Ambient Lighting4 Aug 2025
- 2024Optimal Sample Lens Positioning in Digital Camera Systems1 Jul 2024