元件角度识别是贴片机元件视觉检测的关键,其参数的精确获取直接影响贴片机进行元件贴装的准确性。SUSAN算法是一种基于图像灰度比较的算法,不涉及梯度的计算。讨论了该算法的模板和门限的选取方法,继而提出一种改进的SUSAN边缘检测算法对矩形片式元件进行边缘检测,并通过试验比较了该算法与传统的几种边缘检测算法的优劣。试验证明改进的SUSAN算法能更好地提取复杂成像条件下元件图像的边缘,提高了贴装过程中元件角度识别的精度和稳定性。
Angle recognition for chip component is one of the most difficult issues in electronics manufacturing, and it has direct impact on the mounting precision. SUSAN based on the gray comparison but not gradient. The selection of template and threshold was discussed, after analyzing the detecting task of chip in-depth, a new algorithm based on improved SUSAN edge detecting was proposed to detect edge of chip component. Then the advantages and disadvantages of improved SUSAN and other traditional algorithm for edge detection were compared by experiments. The results demonstrate that the proposed algorithm can detect the edge of component efficiently, even under the complex illumination condition, and the precision and stability of angle recognition are both improved.