• Laser & Optoelectronics Progress
  • Vol. 58, Issue 16, 1610007 (2021)
Yu Cao** and Chuanpeng Xu*
Author Affiliations
  • School of Automation, Harbin University of Science and Technology, Harbin, Heilongjiang 150080, China
  • show less
    DOI: 10.3788/LOP202158.1610007 Cite this Article Set citation alerts
    Yu Cao, Chuanpeng Xu. Application of an Improved Threshold Segmentation Algorithm in Lens Defect Detection[J]. Laser & Optoelectronics Progress, 2021, 58(16): 1610007 Copy Citation Text show less

    Abstract

    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.
    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