首页 | 本学科首页   官方微博 | 高级检索  
     

基于改进模板匹配算法的物料计数方法研究
引用本文:韩硕,陈晓荣,张彩霞,郭蓉蓉,王晓龙. 基于改进模板匹配算法的物料计数方法研究[J]. 计量学报, 2022, 43(7): 863-868. DOI: 10.3969/j.issn.1000-1158.2022.07.05
作者姓名:韩硕  陈晓荣  张彩霞  郭蓉蓉  王晓龙
作者单位:上海理工大学光电信息与计算机工程学院,上海 200093
基金项目:国家自然科学基金(52175513)
摘    要:针对生产过程中物料计数方法存在的缺陷,研究了一种改进的模板匹配算法进行物料数量检测。通过基于双模板搜索方式和位置约束系数r改进传统模板匹配算法(template matching algorithm,TMA),优化寻找最佳匹配图像的过程获得最优解,并以此进行图像拼接,完成物料计数。与传统模板匹配算法(TMA)和高斯金字塔优化的模板匹配算法(Gaussian pyramid transformation,GPT)进行实验对比,证明所提算法较其他2种算法在处理每一张样本图片的时间上分别由0.013s、0.011s缩短到0.008s,在计数准确度上分别由77.32%、84.94%提高到97.36%以上,并且在拼接精度上也优于其他2种算法,实验结果验证了所提算法的有效性。

关 键 词:计量学  物料计数  图像拼接  模板匹配  双模板搜索  位置约束  
收稿时间:2021-03-15

Research on Material Counting Method Based on Improved Template Matching Algorithm
HAN Shuo,CHEN Xiao-rong,ZHANG Cai-xia,GUO Rong-rong,WANG Xiao-long. Research on Material Counting Method Based on Improved Template Matching Algorithm[J]. Acta Metrologica Sinica, 2022, 43(7): 863-868. DOI: 10.3969/j.issn.1000-1158.2022.07.05
Authors:HAN Shuo  CHEN Xiao-rong  ZHANG Cai-xia  GUO Rong-rong  WANG Xiao-long
Affiliation:School of Optoelectronic Information and Computer Engineering, University of Shanghai for Science and Technology, Shanghai 200093, China
Abstract:In order to solve the defects of the material counting method in the production process, an improved template matching algorithm is studied for material quantity detection, and the improved template matching algorithm (TMA) is optimized based on the dual template search method and the position constraint coefficient r. The process of finding the best matching image, obtaining the optimal solution, and then performing image stitching to complete the material count. Through experimental comparison with traditional TMA and Gaussian pyramid transformation (GPT) optimization, it proves that compared with the other two algorithms, the time to process each sample image is shortened from 0.013s, 0.011s to 0.008s, and the counting accuracy is improved from 77.32%, 84.94% to more than 97.36% respectively. The stitching accuracy is also better than the other two algorithms, and the experimental results verify the effectiveness of the algorithm.
Keywords:metrology  material counting  image mosaic  template matching  dual template search  position constraints  
点击此处可从《计量学报》浏览原始摘要信息
点击此处可从《计量学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号