Optics and Precision Engineering, Volume. 31, Issue 12, 1741(2023)

High precision measurement of ruby ball diameter by compound secondary edge detection

Ruizhe GAO1,*... Ailing TIAN1, Feng CHEN2, Dong YANG3 and YueYang MA1 |Show fewer author(s)
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

    For precisely measuring the diameters of ruby balls in a non-contact manner, a compound secondary edge detection method is proposed. First, the image of the ruby ball is preprocessed, and the adaptive threshold Canny edge detection algorithm is used to detect the edge of the ruby ball image. Second, an image fusion algorithm based on the pixel weighted average is used to fuse the binary image of the ruby ball and the edge detection image. Then, the edge of the fused image is extracted, the cubic spline interpolation method is used to interpolate the edge image, the subpixel coordinates of the image edge are obtained via curve fitting, and circle fitting is performed according to the coordinates. Thereafter, the detection results are obtained through calibration. Compound secondary edge detection is performed for precisely measuring the diameter of a ruby ball. The experimental results indicate that the measurement accuracy for a 6-mm ruby ball diameter can reach 2 μm, and the positioning accuracy is less than 0.1 pixels, thus satisfying the measurement requirements of enterprises and providing better technical support for industrial automatic detection.

    Tools

    Get Citation

    Copy Citation Text

    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

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

    Category: Modern Applied Optics

    Received: Dec. 5, 2022

    Accepted: --

    Published Online: Jul. 25, 2023

    The Author Email: GAO Ruizhe (1132284644@qq. com)

    DOI:10.37188/OPE.20233112.1741

    Topics