Laser & Optoelectronics Progress, Volume. 61, Issue 24, 2411003(2024)

Autofocus Method Based on Deep Learning in the Visual Measurement System

Bowen Zheng1,2,3, Shaojin Liu1,2,3、*, Chengwu Shen1,2,3, Jianrong Li1,2,3, Yan Han1,2,3, and Haoyang Sun1,2,3
Author Affiliations
  • 1Changchun Institute of Optics Fine Mechanics and Physics, Chinese Academy of Sciences, Changchun 130033, Jilin , China
  • 2Relative Pose Measurement Laboratory, Changchun Institute of Optics Fine Mechanics and Physics, Chinese Academy of Sciences, Changchun 130033, Jilin , China
  • 3University of Chinese Academy of Sciences, Beijing 100049, China
  • show less

    Aiming at the problem that the traditional autofocus method needs to collect more defocused images, which greatly increases focusing time and limits its application in visual measurement systems, an autofocus method based on deep learning is proposed. This method transforms the autofocus problem into an image defocus distance prediction problem. First, a lightweight deep regression network is constructed using ShuffleNetv2 and a multilayer perceptron (MLP). The network is subsequently trained on the collected target image dataset in the working scene. Through a reasonable focusing strategy, two frames of images can be used to complete the focusing, which reduces the focusing time, thereby circumventing the problem of large focusing error caused by local extreme points in the traditional autofocus method. The experimental results show that the focusing time of this method is only 15%?24% of the traditional autofocus method, and the focusing stability is improved by about 40% compared with the traditional autofocus method, providing the advantages of fast focusing speed, high focusing stability, and low model complexity, which can be well applied to the visual measurement system.

    Keywords
    Tools

    Get Citation

    Copy Citation Text

    Bowen Zheng, Shaojin Liu, Chengwu Shen, Jianrong Li, Yan Han, Haoyang Sun. Autofocus Method Based on Deep Learning in the Visual Measurement System[J]. Laser & Optoelectronics Progress, 2024, 61(24): 2411003

    Download Citation

    EndNote(RIS)BibTexPlain Text
    Save article for my favorites
    Paper Information

    Category: Imaging Systems

    Received: Mar. 21, 2024

    Accepted: Apr. 24, 2024

    Published Online: Dec. 4, 2024

    The Author Email: Shaojin Liu (evsv@sohu.com)

    DOI:10.3788/LOP240938

    CSTR:32186.14.LOP240938

    Topics