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
    Figures & Tables(8)
    Ideal model of sub-pixel edge detection. (a) Original edge image model; (b) rotated edge image model
    Curve inflection point diagram under different a and b values
    Diagram of processing results under different a and b values. (a) a=2, b=15; (b) a=8, b=5; (c) a=4, b=10
    Comparison of weight coefficients
    Comparison of bubble threshold segmentation. (a) Original image of bubble; (b) Otsu segmentation; (c) standard PSO+Otsu segmentation; (d) improved PSO+Otsu segmentation; (e) improved two-dimensional maximum entropy threshold segmentation of genetic algorithm; (f) bubble edge
    Comparison of scratch threshold segmentation. (a) Original image of scratches; (b) Otsu segmentation; (c) standard PSO+Otsu segmentation; (d) improved PSO+Otsu segmentation; (e) improved two-dimensional maximum entropy threshold segmentation of genetic algorithm; (f) scratch edge
    • Table 1. Comparison of image segmentation of optical lens bubbles

      View table

      Table 1. Comparison of image segmentation of optical lens bubbles

      ImageAlgorithmTime /msOptimal thresholdNumber of iterations
      BubbleOtsu189132216
      Standard PSO+ Otsu15613314
      Improved PSO+ Otsu13213511
      Ref. [16] method14713523
    • Table 2. Comparison of image segmentation of optical lens scratches

      View table

      Table 2. Comparison of image segmentation of optical lens scratches

      ImageAlgorithmTime /msOptimal thresholdNumber of iterations
      ScratchesOtsu196141216
      Standard PSO+ Otsu16814215
      Improved PSO+ Otsu14114310
      Ref. [16] method15114322
    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: Yu Cao (910859175@qq.com), Chuanpeng Xu (xuchuanpeng@126.com)

    DOI:10.3788/LOP202158.1610007

    Topics