Abstract:It is one of the key problems in machine vision measurement to estimate the center position of noisy 1-dimensional images (grayscale curves) lacking shape prior information. With matching error between the curve and its mirror image being used as the symmetry evaluation function, a symmetry center fitting algorithm is proposed. And the and the least square method is used to calculate the best matching point as the symmetry center. The algorithm needs iterative calculation, and may converge to wrong position. By analyzing the possible local convergence caused by the initial value selection of iterative, it is proved that the local extreme point may only appear within the half pixels adjacent to the true value, a convergence point verification strategy is proposed, which solves the problem of erroneous convergence. The robustness of the algorithm under various disturbances is confirmed through simulation and real image verification. Under the interference of strong noise, the position variation of gray centroid method can reach tens or even hundreds of pixels, while the root-mean-square value of the position variation of symmetric centroid fitting algorithm can still remain at about 1 pixel. Under other noise conditions, the performance of symmetric centroid fitting algorithm is also far superior to gray centroid method.
FILLARD J P. Sub-pixel accuracy location estimation from digital signals[J]. Optical Engineering, 1992, 31(11): 2465-2471.
YU H, LIU B Q, WANG H K, et al. Comparative study of two linear fitting methods for linear CCD image edge detection[J]. Optical Instruments, 2015,37(3): 268-271.
LIU Y H, YAN H, CHEN Z Z, et al. Adaptive canny operator edge detection under strong noise[J]. Optics and Precision Engineering, 2022, 30(3):350-362.
ZHANG J P, YU F Q. Improved image measurement edge detection based on canny operator[J]. Laser & Optoelectronics Progress, 2020, 57(24): 241024.
DUAN Z Y, WANG N, ZHAO W H, et al. Algorithm of sub-pixel edge detection based on gauss integral curve fitting[J]. Acta Metrologica Sinica, 2016, 37(04): 371-374.
CAI H Y, YU Y, HUANG Z H, et al. A new method of extracting the center inerference fringes based on polynomial fitting[J]. Journal of Optoelectronics·laser, 2006(01):115-118.
FAROOQ M, ASLAM A, HUSSAIN B, et al. A comparison of image processing techniques for optical interference fringe analysis[J]. Photonic Sensors, 2015, 5(4): 304-311.
[14]
LI C, YE X, GONG Y, et al. A Center-line extraction algorithm of laser stripes based on multi-Gaussian signals fitting[C]// IEEE. 2016 IEEE International Conference on Information and Automation (ICIA).2016: 189-194.
LIU T, WANG Z Y, YU X H, et al. Curve fitting method based on adaptive window for center extracting of structured light stripe[J]. Semiconductor Optoelectronics, 2010, 31(1):151-154.
ZHANG R F, LIU C. Interference fringe center point extraction method based on interval curve fitting[J]. Laser & Optoelectronics Progress, 2021, 58(8): 0812002.
GAO S L, SHEN J X, ZHOU H Y. Center extraction of Placido image based on curve fitting[J]. Journal of Computer Applications, 2011, 31(6):1621-1623.
SHEN L CH, GUO G X, KONG M, et al. An algorithm for line detection based on Grubbs criterion and linear fitting[J]. China Measurement & Test, 2022, 48(8):46-52.
HUANG J, ZHOU Z F. Study on detection algorithm of the center of unsymmetric sampling precision CCD image based on curve fitting[J]. Journal of Optoelectronics·laser, 2004, 15(6):691-694.