Journal of South China University of Technology(Natural Science Edition) ›› 2023, Vol. 51 ›› Issue (9): 1-10.doi: 10.12141/j.issn.1000-565X.220745

Special Issue: 2023年机械工程

• Mechanical Engineering • Previous Articles     Next Articles

Real-Time Template Matching Method for Edge Features

WANG Shiyong QIAN Guokang LI Di ZHANG Wujie   

  1. School of Mechanical and Automotive Engineering,South China University of Technology,Guangzhou 510640,Guangdong,China
  • Received:2022-11-12 Online:2023-09-25 Published:2023-03-16
  • About author:王世勇(1981-),男,博士,副教授,主要从事嵌入式控制系统与智能制造系统研究。E-mail:mesywang@scut.edu.cn
  • Supported by:
    the National Key R&D Program of China(2020YFB1711300)

Abstract:

Template matching is a common key technology in the field of machine vision. Currently, edge feature-based template matching methods are facing challenges such as time-consuming searching and low matching accuracy in a complex environment. In order to ensure the robustness while improving the real-time performance, this paper proposed a real-time edge feature-based template matching method. Firstly, in the stage of template creation, a new edge sparse method was proposed, and it can screen out the strong invariant edge points from the template image. It reduces the redundancy of template information while retaining the key template features to ensure the stability and improve the computing efficiency. Secondly, in the stage of pyramid search-based image-matching, a top-level pre-screening method was proposed. Normalized Manhattan distance was used as a constraint to exclude incorrect target poses from the top search results to speed up the search in subsequent layers. Five datasets with different working conditions were constructed, and the proposed template matching method was compared and applied to the fast visual dispensing process for free plane pose. The experimental results show that the proposed matching method can significantly improve the matching speed while ensuring high accuracy. And it can overcome interference factors such as illumination change, rotation, defects, multiple targets, and occlusion, enabling practical applications that require both high robustness and real-time performance.

Key words: machine vision, template matching, edge feature, image pyramid, visual dispensing

CLC Number: