• 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
    Ideal model of sub-pixel edge detection. (a) Original edge image model; (b) rotated edge image model
    Fig. 1. 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
    Fig. 2. 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
    Fig. 3. 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
    Fig. 4. 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
    Fig. 5. 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
    Fig. 6. 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
    ImageAlgorithmTime /msOptimal thresholdNumber of iterations
    BubbleOtsu189132216
    Standard PSO+ Otsu15613314
    Improved PSO+ Otsu13213511
    Ref. [16] method14713523
    Table 1. Comparison of image segmentation of optical lens bubbles
    ImageAlgorithmTime /msOptimal thresholdNumber of iterations
    ScratchesOtsu196141216
    Standard PSO+ Otsu16814215
    Improved PSO+ Otsu14114310
    Ref. [16] method15114322
    Table 2. Comparison of image segmentation of optical lens scratches
    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