液晶与显示, 2014, 29 (6): 1003, 网络出版: 2014-09-15
基于几何特征的圆形标志点亚像素中心定位
Subpixel location of circle target center based on geometric features
视觉测量 边缘检测 几何特征 Zernike矩 椭圆拟合 vision measurement edge detection geometric features Zernike moment ellipse fitting
摘要
视觉测量系统中圆形标志点中心定位的精度易受噪声的影响。为了增强其抗噪性从而提高定位精度,提出了一种利用几何特征以降低噪声干扰的中心定位算法。首先将自适应阈值分割法与质心法相结合,对点目标进行圆心粗定位。利用粗定位的圆心和半径对Canny算子检测到的边缘进行半径约束,以消除孤立点和噪声点。然后根据理想的圆成像后边缘点分布的几何特征和链接规律,采用一种基于分区原理的方法获取点目标的理想边缘。最后,采用Zernike正交矩对像素级边缘点进行亚像素定位,并用最小二乘椭圆拟合法计算得到中心坐标。实验结果表明,该方法的定位精度可以达到0023 7 pixel,算法的运行时间为2~3 ms,基本满足测量系统对于圆形标志点中心定位在精度、稳定性和实时性上的要求。
Abstract
The location accuracy of circle target center in vision measurement system is susceptible to the noise. In order to enhance the capacity of antiinterference of noise and improve the location accuracy, a modified subpixel location algorithm of circle target center based on geometric features is proposed in this paper. Firstly, coarse location of circle target center is realized by combining adaptive threshold segmentation and centroid method, which is used for radius constraint of the edge detected by Canny operator to remove the isolated points and the noisy points. Then, starting from the geometric distribution characteristics and linking discipline of the ideal imaging of circle,a method based on partition theory is brought forward to obtain ideal and continuous edge of circle target. Finally, Zernike moment is used to carry out the subpixel location of the edge, and the center location is achieved by the leastsquares ellipse fitting method. The experiments results show that the location accuracy can reach to 0023 7 pixels,and the operation time is between 2 and 3 ms. It can satisfy the high requirements of precision, stabilization and realtime ability of circle target center in the measurement system.
王林波, 王延杰, 邸男, 金明河. 基于几何特征的圆形标志点亚像素中心定位[J]. 液晶与显示, 2014, 29(6): 1003. WANG Linbo, WANG Yanjie, DI Nan, JIN Minghe. Subpixel location of circle target center based on geometric features[J]. Chinese Journal of Liquid Crystals and Displays, 2014, 29(6): 1003.