摘要
针对现有自动光学检测系统焊点定位自动化程度低的问题,提出了一种基于颜色特征的智能焊点定位算法.对样本焊点区域的灰度直方图进行统计分析,获得焊点分割的初始颜色阈值,并以最小像素损失为目标对阈值进行修正,得到最优分割阈值,实现了焊点颜色的自动抽取;定位过程中,使用阈值对焊点图像进行二值化,并使用优化后的面积最大法来搜索焊点位置,实现了焊点的快速定位.实验结果表明:文中算法对焊点图像的分割效果理想,定位误差小,定位速度可以满足实际应用的要求.
In order to improve the automation degree of solder joint positioning by using the existing automatic optical inspection systems, an intelligent positioning algorithm based on color features is proposed. In this algorithm, the initial color thresholds of solar joint segmentation are calculated by statistically analyzing the gray histograms of solder joint regions, and a minimum pixel loss method is used to correct the initial thresholds and to further obtain the optimal threshold. Thus, the solder joint color is automatically extracted. Moreover, during the positioning, the ima- ges of solder joints are binarized with the obtained threshold, and the optical location of solder joints are fast searched by using the optimized maximum area method. Experimental results show that the proposed algorithm is effective because it helps to obtain properly-extracted solder joint images with small positioning error and high positio- ning speed that meets the practical application requirements well.
出处
《华南理工大学学报(自然科学版)》
EI
CAS
CSCD
北大核心
2013年第3期116-121,128,共7页
Journal of South China University of Technology(Natural Science Edition)
基金
广东省科技计划项目(2012B011300016)
粤港关键领域重点突破项目(东莞专项2012205122)
关键词
焊点定位
自动光学检测
阈值
面积最大法
二值化
solder joint positioning
automatic optical inspection
threshold
maximum area method
binarization