摘要
为了实现贴片元件的自动检测,提出了一种基于视觉的贴片元件几何特征参数检测方法.首先采用最大外接矩形法实现元件的粗定位及确定边缘的分割点,并采用Canny和Zernike矩边缘检测算子实现边缘的精确定位.然后,利用分割点将边缘分割成4部分,分别进行直线和圆弧拟合,得到其精确值.同时,利用快速傅里叶变换后的图像特征,实现端面图像中条纹方向的判定.实验中测得亚像素边缘点的定位精度为0.03像素,直线拟合精度为0.03像素,圆弧拟合精度为0.05像素,端面条纹判断的准确率为100%.实验结果表明:文中提出的检测方法能很好地满足贴片元件自动视觉检测稳定可靠、精度高及实时性强的要求.
In order to automatically inspect chip components, a vision-based method is proposed to calculate the geometrical parameters of the components. In this method, first, the coarse location of chip components and the edge point sorting are realized by means of the maximum external rectangle method, and the precise location of the edge is implemented by using the Canny operator and the Zernike moment operator. Next, the edge points are sorted into 4 parts according to sorting points, which are then fitted respectively via line and arc fittings to obtain the corresponding accurate values. Moreover, the stripe direction of the transverse image of chip components is correctly judged according to the image characteristics obtained via the fast Fourier transform (FFT). Finally, an experiment is carried out, with a subpixel location precision of 0.03 pixel, a line fitting precision of O. 03 pixel, an arc fitting precision of 0. 05 pixel and a stripe direction accuracy of the transverse image of 100% being obtained. The results indicate that the proposed inspection method is of strong stability, high precision and excellent real-time perfor- mance, which is helpful in the automatic Vision-based inspection of chip components.
出处
《华南理工大学学报(自然科学版)》
EI
CAS
CSCD
北大核心
2010年第1期65-69,86,共6页
Journal of South China University of Technology(Natural Science Edition)
基金
中国博士后科学基金资助项目(20070420784)
广东省自然科学基金博士科研启动项目(8451064101000594)
广东省工业攻关项目(2008B01040004)
关键词
贴片元件
亚像素
视觉检测
快速傅里叶变换
边缘检测
拟合
chip component
subpixel
vision inspection
fast Fourier transform
edge detection
fitting