To meet the requirements of high accuracy in image edge localization and strong noise resistance for computer vision calibration and precise measurement, an improved Zernike moment sub-pixel high-precision measurement method for circular hole-like workpieces is proposed. Firstly, the Canny operator is used as a coarse edge detection algorithm, with the traditional Gaussian filter in the Canny operator replaced by an improved Laplacian edge-adaptive median filter. This approach demonstrates improved edge preservation compared to traditional and adaptive median filtering, especially under high-concentration noise. Then, a sub-pixel edge detection algorithm is applied to refine the edges, thus enhancing the edge localization accuracy. An improved Zernike moment sub-pixel detection algorithm is employed for precise edge point detection. The improved algorithm selects a Zernike moment parameter template with higher detection accuracy. Finally, the inner and outer diameters of the circular hole-like part are measured by fitting the profile using the least squares method. Experimental results on several different workpieces demonstrate that the proposed algorithm achieves higher accuracy than the traditional Zernike moment sub-pixel method, with an error reduction of 75.1%, meeting the precision requirements in modern industrial part manufacturing processes.
Zhang et al. (Tue,) studied this question.