mlsanityData to 7 Oct 2026

Towards Minimal Focal Stack in Shape from Focus

arXiv 2604.01603 ↗First posted 2 Apr 2026cs.CVcited by 0

Not on the map. Why?

Abstract (arXiv)

Shape from Focus (SFF) is a depth reconstruction technique that estimates scene structure from focus variations observed across a focal stack, that is, a sequence of images captured at different focus settings. A key limitation of SFF methods is their reliance on densely sampled, large focal stacks, which limits their practical applicability. In this study, we propose a focal stack augmentation that enables SFF methods to estimate depth using a reduced stack of just two images, without sacrificing precision. We introduce a simple yet effective physics-based focal stack augmentation that enriches the stack with two auxiliary cues: an all-in-focus (AiF) image estimated from two input images, and Energy-of-Difference (EOD) maps, computed as the energy of differences between the AiF and input images. Furthermore, we propose a deep network that computes a deep focus volume from the augmented focal stacks and iteratively refines depth using convolutional Gated Recurrent Units (ConvGRUs) at multiple scales. Extensive experiments on both synthetic and real-world datasets demonstrate that the proposed augmentation benefits existing state-of-the-art SFF models, enabling them to achieve comparable accuracy. The results also show that our approach maintains state-of-the-art performance with a minimal stack size.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 19 of its 44 references that are in the map. First posted on arXiv 2 Apr 2026.

Builds on

19 of 44 references.

References · 19

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  3. 2020RAFT: Recurrent All-Pairs Field Transforms for Optical Flowcited by 2,385
  4. 2015A Large Dataset to Train Convolutional Networks for Disparity, Optical Flow, and Scene Flow Estimationcited by 878
  5. 2017End-to-End Learning of Geometry and Context for Deep Stereo Regressioncited by 359
  6. 2021RAFT-Stereo: Multilevel Recurrent Field Transforms for Stereo Matchingcited by 348
  7. 2020Single Image Depth Estimation Trained via Depth from Defocus Cuescited by 45
  8. 2020Focus on defocus: bridging the synthetic to real domain gap for depth estimationcited by 37
  9. 2017Deep Depth From Focuscited by 28
  10. 2021Bridging Unsupervised and Supervised Depth from Focus via All-in-Focus Supervisioncited by 23
  11. 2021Deep Depth from Focus with Differential Focus Volumecited by 20
  12. 2023Fully Self-Supervised Depth Estimation from Defocus Cluecited by 17
7 more
  1. 2014Variational Depth from Focus Reconstructioncited by 15
  2. 2023Aberration-Aware Depth-from-Focuscited by 12
  3. 2024HybridDepth: Robust Metric Depth Fusion by Leveraging Depth from Focus and Single-Image Priorscited by 11
  4. 2022Learning Depth from Focus in the Wildcited by 8
  5. 2022Deep Depth from Focal Stack with Defocus Model for Camera-Setting Invariancecited by 7
  6. 2023Camera-Independent Single Image Depth Estimation from Defocus Blurcited by 5
  7. 2025Robust Shape from Focus via Multiscale Directional Dilated Laplacian and Recurrent Networkcited by 1

Built on by

Not cited yet.