电子科技 ›› 2022, Vol. 35 ›› Issue (5): 1-6.doi: 10.16180/j.cnki.issn1007-7820.2022.05.001

• •    下一篇

基于LK光流和网格运动统计的图像匹配改进算法

刘群坡,席秀蕾,杨凌霄   

  1. 河南理工大学 电气工程与自动化学院,河南 焦作 454000
  • 收稿日期:2020-12-26 出版日期:2022-05-25 发布日期:2022-05-27
  • 作者简介:刘群坡(1978-),男,博士,副教授。研究方向:机器视觉、特殊环境机器人控制及智能装备。|席秀蕾(1995-),女,硕士研究生。研究方向:机器视觉。
  • 基金资助:
    国家重点研发计划(2016YFC0600906);河南省高校科技创新团队(20IRTSTHN019);河南省创新型科技人才队伍建设工程(CXTD2016054);河南理工大学博士基金(722103/001/070)

Improved Image Matching Algorithm Based on LK Optical Flow and Grid Motion Statistics

LIU Qunpo,XI Xiulei,YANG Lingxiao   

  1. School of Electrical Engineering and Automation,Henan Polytechnic University,Jiaozuo 454000,China
  • Received:2020-12-26 Online:2022-05-25 Published:2022-05-27
  • Supported by:
    National Key R&D Program(2016YFC0600906);Henan University Science and Technology Innovation Team(20IRTSTHN019);Construction Project of Innovative Scientific and Technological Talents in Henan(CXTD2016054);Doctor Foundation of Henan Polytechnic University of Technology(722103/001/070)

摘要:

针对AKAZE算法在玻璃封装电连接器图像匹配中准确率低及耗时长的问题,文中提出了基于LK光流和网格运动统计的图像匹配改进算法。首先采用AKAZE算法提取玻璃封装电连接器特征点,运用M-LDB描述子进行特征描述。然后利用LK光流法计算匹配区域进行条件约束,从而得到匹配点,并通过FLANN算法进行特征匹配。最后将玻璃封装电连接器图像划分为多个网格,计算FLANN匹配好的特征点邻域的正确匹配个数和阈值并剔除误匹配点。文中实验采用公开数据集和玻璃封装电连接器数据,从实时性和准确性两方面对算法性能进行验证分析。结果表明,改进的算法在处理模糊、亮度及旋转变化的玻璃封装电连接器图像对时,其匹配准确率均达到93%以上,耗时为0.4 s内,证明了算法的有效性。

关键词: 双目视觉定位, 玻璃封装电连接器, AKAZE算法, LK光流, 特征, 匹配, FLANN算法, 网格运动统计

Abstract:

In order to solve the low accuracy and time-consuming problem of AKAZE algorithm in the image matching of glass-encapsulated electrical connectors, improved image matching algorithm based on LK optical flow and grid motion statistics is proposed in this study. First, the AKAZE algorithm is used to extract feature points, and the M-LDB descriptor is used to describe the features. Then, LK optical flow method is used to calculate the matching area for conditional constraints to obtain matching points, and the FLANN algorithm is adopted for feature matching. Finally, the glass-encapsulated electrical connector image is divided into multiple grids, and the numbers and threshold values of correct matching points of the neighborhood of the feature points that are matched by FLANN are calculated to eliminate the wrong matching points. By using public datasets and glass-encapsulated electrical connector data,the performance of the algorithm is verified and analyzed from both real-time and accuracy aspects. The results show that the improved algorithm has a matching accuracy of more than 93% when dealing with image pairs of glass-encapsulated electrical connectors with blur, brightenss and rotation changes, and the time-consuming is within 0.4 s, which proves the effectiveness of the algorithm.

Key words: binocular vision positioning, glass-encapsulated electrical connector, AKAZE algorithm, LK optical flow, feature, matching, FLANN algorithm, grid motion statistics

中图分类号: 

  • TP391