XU Wanze, LI Bailin, OU Yang, et al. Recognition algorithm for metal parts based on ring template matching[J]. 2021, (2): 128-131. DOI: 10.13873/J.1000-9787(2021)02-0128-04.
基于环形模板匹配的金属零件识别算法
摘要
针对在金属零件的模板匹配中
由于图像采集时零件摆放的位置和方向不同
使匹配图像中存在零件的不同侧面导致传统匹配方法准确率低的问题
提出了一种使用环形特征模板的模板匹配算法RTMM。通过一组同心圆将模板分割为几个环形区域
利用环形区域相互之间的关系作为预选区域的定位特征
在匹配图像中快速筛选出若干个预选区域;通过Sobel算子寻找各环形区域中的稳定点
根据各环形区域包含的稳定点数量筛选出能够代替整幅模板图像的环形区域;从环形区域中提取精确匹配的特征
对预选区域进行筛选
从而得到精确的匹配结果。
Abstract
Aiming at the problem that the accuracy of traditional matching methods is low due to the different positions and directions of parts in image acquisition
in the template matching of metal parts
RTMM
a template matching algorithm using circular feature template
is proposed to solve. Firstly
the template is divided into several ring regions by a group of concentric circles
and the relationship between ring regions is used as the positioning feature of pre-selected regions quickly screen several pre-selected regions in matching images. Then
Sobel operator is used to search the stable points in each ring region
and according to the number of stable points contained in each ring region
the ring region that can replace the whole template image is selected. Finally
exact matching features are extracted from the ring region
and the pre-selected region is screened to get the exact matching results.