Electronic Science and Technology ›› 2022, Vol. 35 ›› Issue (5): 1-6.doi: 10.16180/j.cnki.issn1007-7820.2022.05.001

    Next Articles

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)


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

CLC Number: 

  • TP391