基于圆投影与径向投影的模板匹配算法
Template Matching Algorithm Based on Circular Projection and Radial Projection
摘要:
针对传统的基于相关性的模板匹配算法计算量大和不具有旋转不变性的问题,提出一种基于圆投影与径向投影的快速模板匹配算法。首先采用跳跃式步长和高斯金字塔策略快速获得圆投影向量,接着使用NCC相似性度量方法进行粗匹配;然后再进行精匹配,得到模板图像在待测图像中的准确位置;最后利用径向投影得到模板与待匹配图像之间旋转的角度。实验结果表明:基于圆投影与径向投影的模板匹配算法不仅可以解决旋转不变性的问题,还可以准确获得模板与待匹配图像之间的旋转角度,匹配速度也较快。
Abstract:
Aiming at the problems of a large amount of computation and no rotation invariance of the traditional template matching algorithm based on correlation, a fast template matching algorithm based on circular projection and radial projection is proposed. Firstly, the circular projection vector is quickly obtained by using jump step size and Gaussian pyramid strategy, and then the NCC similarity measurement method is used for rough matching; then, the accurate position of the template image in the image to be measured is obtained by fine matching; Finally, the rotation angle between the template and the image to be matched is obtained by radial projection. The experimental results show that the template matching algorithm based on circular projection and radial projection can not only solve the problem of rotation invariance, but also accurately obtain the rotation angle between the template and the image to be matched, and the matching speed is also fast.
参考文献
|
[1]
|
陈泽宁. 基于模板匹配工件定位的研究[D]: [硕士学位论文]. 广州: 广东工业大学. 2016.
|
|
[2]
|
王换伟. 基于模板匹配法的二维码缺陷检测算法研究[D]: [硕士学位论文]. 西安: 西北大学. 2021.
|
|
[3]
|
张建华. 基于灰度的模板匹配算法研究[D]: [硕士学位论文]. 呼和浩特: 内蒙古农业大学, 2013.
|
|
[4]
|
王培容, 陈鸿雁, 李姣军, 等. 一种快速的旋转模板匹配算法的设计与实现[J]. 计算机工程与设计, 2006, 27(14): 2667-2672.
|
|
[5]
|
徐万泽, 李柏林, 欧阳, 等. 基于环形模板匹配的金属零件识别算法[J]. 传感器与微系统, 2021, 40(2): 128-131.
|
|
[6]
|
薛骏, 程俊, 王黎, 等. 基于圆投影与矢量和的旋转不变量检测方案[J]. 计算机工程, 2019, 35(21): 181-185.
|
|
[7]
|
王珏, 孙小惟. 基于圆投影及直方图不变特征的图像匹配方法[J]. 模式识别与仿真, 2007, 26(8): 80-84.
|
|
[8]
|
徐亦斌, 王敬东, 李鹏, 等. 基于圆投影向量的景象匹配方法研究[J]. 系统工程与电子技术, 2015, 27(10): 1725-1728.
|
|
[9]
|
贾晓芬, 赵佰亭, 周孟然, 等. 采用圆投影和序贯相似检测的图像匹配技术[J]. 哈尔滨商业大学学报, 2015, 31(2): 236-237.
|
|
[10]
|
李长有, 付惠琪, 陈国玺. 改进模板匹配的快速识别算法[J]. 河南理工大学学报, 2020, 39(4): 106-111.
|
|
[11]
|
谢志江, 吕波, 刘琴, 等. 旋转不变性图像模板匹配快速算法[J]. 吉林大学学报, 2013, 43(3): 711-717.
|
|
[12]
|
曹田, 李勃, 任福继, 等. 快速的圆投影图像匹配算法[J]. 智能系统学报, 2020, 15(1): 84-91.
|