• Optics and Precision Engineering
  • Vol. 31, Issue 12, 1741 (2023)
Ruizhe GAO1,*, Ailing TIAN1, Feng CHEN2, Dong YANG3, and YueYang MA1
Author Affiliations
  • 1Shaanxi Province Key Laboratory of Thin Films Technology and Optical Test, School of Optoelectronic Engineering, Xi’an Technologcal University, Xi’an7002, China
  • 2Chongqing Chuanyi Automation Co., Ltd, Chongqing40070, China
  • 3CCICWestTestingCompanyLimited, Xi'an71002, China
  • show less
    DOI: 10.37188/OPE.20233112.1741 Cite this Article
    Ruizhe GAO, Ailing TIAN, Feng CHEN, Dong YANG, YueYang MA. High precision measurement of ruby ball diameter by compound secondary edge detection[J]. Optics and Precision Engineering, 2023, 31(12): 1741 Copy Citation Text show less
    Ruby ball measurement system device diagram
    Fig. 1. Ruby ball measurement system device diagram
    Flowchart of the algorithm for Canny edge detection using adaptive thresholds
    Fig. 2. Flowchart of the algorithm for Canny edge detection using adaptive thresholds
    Ruby original image and edge image
    Fig. 3. Ruby original image and edge image
    Flow chart of quadratic edge detection algorithm based on image fusion and cubic spline interpolation
    Fig. 4. Flow chart of quadratic edge detection algorithm based on image fusion and cubic spline interpolation
    Edge map comparison after two edge detections
    Fig. 5. Edge map comparison after two edge detections
    Schematic diagram of coordinate offset solution
    Fig. 6. Schematic diagram of coordinate offset solution
    Gradient magnitude of the edge points is interpolated
    Fig. 7. Gradient magnitude of the edge points is interpolated
    Quadratic curve fitting at (635,925)
    Fig. 8. Quadratic curve fitting at (635,925)
    Ruby ball measurement results map
    Fig. 9. Ruby ball measurement results map
    Comparison of the results of three methods
    Fig. 10. Comparison of the results of three methods
    Localization errors measured at different gains and different SNRS
    Fig. 11. Localization errors measured at different gains and different SNRS
    Pixel level coordinatesSubpixel level coordinates
    (104,557)(104.128 6,557.037 1)
    (104,558)(104.282 4,558.243 3)
    (104,559)(104.376 0,559.188 4)
    (104,560)(104.128 3,560.963 0)
    (104,561)(103.873 2,562.036 6)
    Table 1. Comparison of pixel-level coordinates with subpixel-level coordinates

    Measuring

    element

    measuring time

    0.5 mm

    ruby ball

    2 mm

    ruby ball

    6 mm

    ceramic ball

    10.499 21.986 65.966 4
    20.498 11.990 65.966 6
    30.498 11.992 25.966 5
    40.497 01.993 45.968 1
    50.496 91.994 85.971 7
    Table 2. Measurement results of three components
    Ruizhe GAO, Ailing TIAN, Feng CHEN, Dong YANG, YueYang MA. High precision measurement of ruby ball diameter by compound secondary edge detection[J]. Optics and Precision Engineering, 2023, 31(12): 1741
    Download Citation