Depth from Focus using Windowed Linear Least Squares Regressions - Inria - Institut national de recherche en sciences et technologies du numérique
Journal Articles The Visual Computer Year : 2023

Depth from Focus using Windowed Linear Least Squares Regressions

Abstract

We present a novel depth from focus technique. Following prior work, our pipeline starts with a focal stack and an estimation of the amount of defocus as given by, for instance, the Ring Difference Filter. To improve robustness to outliers while avoiding to rely on costly non-linear optimizations, we propose an original scheme that linearly scans the profile over a fixed size window, searching for the best peak within each window using a linearized least-squares Laplace regression. As a post-process, depth estimates with low confidence are reconstructed though an adaptive Moving Least Squares filter. We show how to objectively evaluate the performance of our approach by generating synthetic focal stacks from which the reconstructed depth maps can be compared to ground truth. Our results show that our method achieves higher accuracy than previous non-linear Laplace regression technique, while being orders of magnitude faster.
Fichier principal
Vignette du fichier
Depth_from_Focus_using_Windowed_Linear_Least_Squares_Regressions_2023.pdf (5.59 Mo) Télécharger le fichier
Origin Files produced by the author(s)

Dates and versions

hal-04052197 , version 1 (30-03-2023)

Identifiers

Cite

Corentin Cou, Gaël Guennebaud. Depth from Focus using Windowed Linear Least Squares Regressions. The Visual Computer, 2023, ⟨10.1007/s00371-023-02841-x⟩. ⟨hal-04052197⟩
66 View
92 Download

Altmetric

Share

More