FDNet: A Novel Image Focus Discriminative Network for Enhancing Camera Autofocus
Accurate activation and optimization of autofocus (AF) functions are essential for capturing high-quality images and minimizing camera response time. Traditional contrast detection autofocus (CDAF) methods suffer from a trade-off between accuracy and robustness, while learning-based methods often incur high spatio-temporal computational costs. To address these issues, we propose a lightweight focus discriminative network (FDNet) tailored for AF tasks. Built upon the ShuffleNet V2 backbone, FDNet leverages a genetic algorithm optimization (GAO) strategy to automatically search for efficient network structures, and incorporates coordinate attention (CA) and multi-scale feature fusion (MFF) modules to enhance spatial, directional, and contextual feature extraction. A dedicated focus stack dataset is constructed with high-quality annotations to support training and evaluation. Experimental results show that FDNet outperforms mainstream methods by up to 4% in classification accuracy while requiring only 0.2 GFLOPs, 0.5 M parameters, a model size of 2.1 MB, and an inference time of 0.06 s, achieving a superior balance between performance and efficiency. Ablation studies further confirm the effectiveness of the GAO, CA, and MFF components in improving the accuracy and robustness of focus feature classification.
Authors
- Haiyan Jin (ORCID: https://orcid.org/0000-0003-3742-4029)
- Qifeng Guo (ORCID: https://orcid.org/0000-0003-0904-7342)
- Zhaolin Xiao (ORCID: https://orcid.org/0000-0003-2457-5944)
- Haonan Su (ORCID: https://orcid.org/0000-0002-5481-1082)
- Chenhao Kou
Institutions
- Shenzhen Weiguang Biological Products (China) (CN)
- Xi'an University of Technology (CN)
Publication Details
- Journal
- Neural Processing Letters
- Published
- 2025-08-18
- DOI
- https://doi.org/10.1007/s11063-025-11788-0
- Primary Topic
- Image Processing Techniques and Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China