Computer Engineering and Applications ›› 2008, Vol. 44 ›› Issue (10): 209-210.

• 工程与应用 • Previous Articles     Next Articles

Research on algorithm of assembly defect detection based on template matching

WANG Pei-rong1,2,GONG Wei-guo1   

  1. 1.Key Laboratory of Opto-Electronic Technology and Systems Education Ministry,Chongqing University,Chongqing 400044,China
    2.College of Electronic Information and Automatization,Chongqing Institute of Technology,Chongqing 400050,China
  • Received:2007-07-18 Revised:2007-10-09 Online:2008-04-01 Published:2008-04-01
  • Contact: WANG Pei-rong

基于模板匹配的装配缺陷检测算法研究

王培容1,2,龚卫国1   

  1. 1.重庆大学 光电技术及系统教育部重点实验室,重庆 400044
    2.重庆工学院 电子信息与自动化学院,重庆 400050
  • 通讯作者: 王培容

Abstract: The industry CT technology can accurately reconstruct the grey-level image of work piece internal structure,thus also can provide the possibility for non-destructively examining assembly defect(leak installing,mistake installing and multi-installing etc.).This paper proposes a new template matching algorithm to realize the assembly defect detection.First,using the average grey-level vector of template to carry on the thick search,determines the candidate match set of points.Next,using the Zernike moment of template to carry on the accurate search,locates the target.The experimental result indicates that,even if the template has the free angle revolving opposite to the examined work piece,the proposed algorithm also can successfully locates the target.

Key words: image reconstruction, automatical recognition, average grey-level vector, Zernike moment

摘要: 工业CT技术能准确地重建出工件内部结构的灰度图像,这为无损检测工件内部装配缺陷(漏装、误装和多装等)提供了可能。提出一种新的模板匹配算法来实现装配缺陷的检测。首先,利用模板的平均灰度矢量进行粗搜索,确定出候选匹配点集;其次,利用模板的Zernike矩进行精搜索,定位出目标。实验结果表明,即使提取的模板相对于被检测部件存在任意角度的旋转,提出的模板匹配算法仍能准确地检测被识别的零部件。

关键词: 图像重建, 自动识别, 平均灰度矢量, Zernike矩