Optical Model-Driven Sharpness Mapping for Autofocus in Small Depth-of-Field and Severe Defocus Scenarios
Chen-Liang Fan, Mingpei Cao, Chih Chien Hung, Yuesheng Zhu
Abstract
Autofocus (AF) is essential for imaging systems, particularly in industrial applications such as automated optical inspection (AOI), where achieving precise focus is critical. Conventional AF methods rely on peak-searching algorithms that require dense focal sampling, making them inefficient in small depth-of-field (DoF) scenarios. Deep learning (DL)-based AF methods, while effective in general imaging, have a limited working range in small DoF conditions due to defocus uncertainty.
In this work, we propose a novel AF framework that integrates an optical model-based sharpness indicator with a deep learning approach to predict sharpness from defocused images. We leverage sharpness estimation as a reliable focus measure and apply an adaptive adjustment algorithm to adjust the focus position based on the sharpness-todistance mapping. This method effectively addresses defocus uncertainty and enables robust autofocus across a 35× DoF range. Experimental results on an AOI system demonstrate that our approach achieves reliable autofocus even from highly defocused starting points and remains robust across different textures and illumination conditions. Compared to conventional and existing DL-based approaches, our method offers improved precision, efficiency, and adaptability, making it suitable for industrial applications and small DoF scenarios.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext eea1aac0-dca7-4f7f-9418-6ca298b4a3dfBuilds on9
- Vision Transformers for Dense PredictionRené Ranftl, Alexey Bochkovskiy, Vladlen KoltunICCV 2021 · 2,647 citations
- Spherical Space Feature Decomposition for Guided Depth Map Super-ResolutionZixiang Zhao, Jiangshe Zhang, Xiang Gu, Chengli Tan et al.ICCV 2023 · 55 citations
- Deep Depth from Focus with Differential Focus VolumeFengting Yang, Xiaolei Huang, Zihan ZhouCVPR 2022 · 31 citations
- Depth Pro: Sharp Monocular Metric Depth in Less Than a SecondAlexey Bochkovskiy, Amaël Delaunoy, Hugo Germain, Marcel Santos et al.ICLR 2025 · 15 citations
- Exploring Positional Characteristics of Dual-Pixel Data for Camera AutofocusMyungsub Choi, Hana Lee, Hyong-Euk LeeICCV 2023 · 9 citations
Related papers
- Stabilizing and Accelerating Autofocus with Expert Trajectory Regularized Deep Reinforcement LearningShouhang Zhu, Chenglin Li, Yuankun Jiang, Li Wei et al.CVPR 2025
- Multi-Focus Image Fusion via Explicit Defocus Blur ModellingYuhui Quan, Xi Wan, Zitao Tang, Jinxiu Liang et al.AAAI 2025 · 12 citations
- Learning to AutofocusCharles Herrmann, Richard Strong Bowen, Neal Wadhwa, Rahul Garg et al.CVPR 2020
- Fully Self-Supervised Depth Estimation from Defocus ClueHaozhe Si, Bin Zhao, Dong Wang, Yunpeng Gao et al.CVPR 2023
- Lens Parameter Estimation for Realistic Depth of Field ModelingDominique Piché-Meunier, Yannick Hold-Geoffroy, Jianming Zhang, Jean-François LalondeICCV 2023 · 3 citations
