Laser & Optoelectronics Progress, Volume. 58, Issue 16, 1610007(2021)

Application of an Improved Threshold Segmentation Algorithm in Lens Defect Detection

Yu Cao** and Chuanpeng Xu*
Author Affiliations
  • School of Automation, Harbin University of Science and Technology, Harbin, Heilongjiang 150080, China
  • show less

    In the optical lens defect detection, in order to improve the accuracy and speed of the optical lens image threshold segmentation, a new particle swarm optimization (PSO)+Otsu threshold segmentation algorithm is proposed. The algorithm improves the PSO weight factor update strategy, increases the time when the weight factor is at a larger value at the beginning of the iteration, enhances the global search ability, calculates the optimal position of the particle, and assigns the optimal position to the Otsu algorithm. Finally realize the threshold segmentation of the optical lens image. The improved weight factor update strategy can overcome the shortcomings of the typical linearly decreasing weight factor update strategy that the global search ability at the initial stage of the iteration is insufficient, which leads to the local extreme value in the later stage. Experimental results show that this algorithm improves the speed of threshold segmentation while improving the accuracy of image threshold segmentation.

    Tools

    Get Citation

    Copy Citation Text

    Yu Cao, Chuanpeng Xu. Application of an Improved Threshold Segmentation Algorithm in Lens Defect Detection[J]. Laser & Optoelectronics Progress, 2021, 58(16): 1610007

    Download Citation

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

    Category: Image Processing

    Received: Nov. 5, 2020

    Accepted: Dec. 10, 2020

    Published Online: Aug. 19, 2021

    The Author Email: Cao Yu (910859175@qq.com), Xu Chuanpeng (xuchuanpeng@126.com)

    DOI:10.3788/LOP202158.1610007

    Topics