LYU Hongqiang, HUANG Tao, NIE Xingjia, et al. Application of optical flow method in metro train speed measurement. [J]. Electric drive for locomotives (2):129-134(2022)
DOI:
LYU Hongqiang, HUANG Tao, NIE Xingjia, et al. Application of optical flow method in metro train speed measurement. [J]. Electric drive for locomotives (2):129-134(2022) DOI: 10.13890/j.issn.1000-128X.2022.02.018.
Application of optical flow method in metro train speed measurement
Subway speed is an important parameter of train control system. The traditional subway speed measurement methods have some defects. In this paper
a new method of subway speed measurement by using the optical flow method in image processing was explored
and a fast optical flow calculation method to meet the requirements of real-time and accuracy of subway speed measurement was put forward. The image pyramid was introduced to solve the optical flow of large displacement motion through the method of coarse to fine and layer by layer refinement
which solved the defect that LK optical flow method could not calculate large displacement motion; GPU was used in optical flow calculation to realize the parallelization of image feature point detection and calculation
which significantly improved the speed of optical flow calculation; The line simulation software was designed for speed measurement simulation experiment. The results show that the improved optical flow algorithm based on image pyramid can improve the accuracy of optical flow estimation under large displacement
and the optical flow parallel calculation based on GPU can effectively improve the optical flow calculation speed and meet the real-time requirements of metro speed measurement system. The feasibility of the speed measurement method in this paper is further verified by building the machine support platform and carrying out the actual line experiment.
关键词
地铁测速光流法GPU加速实时性仿真
Keywords
metro trainspeed measurementoptical flow methodGPU accelerationreal timesimulation
LU Dongfu. Transportation power, railway first behavior and make greater contribution to the sustainable and healthy development of economy and society-report at the working meeting of China railway corporation (Abstract)[J]. Railway Computer Application, 2018, 27(1): 1-3.
CAI Bogen, WANG Jian, LIU Jiang, et al. Speed measurement and positioning technology of train operation control system[M]. Beijing: China Railway Publishing House, 2018.
LAUZE F, KORNPROBST P, MEMIN E. A coarse to fine multiscale approach for linear least squares optical flow estimation[C]// Proceedings of the British Machine Vision Conference. [S.l.]: BMVA Press, 2004. DOI: 10.5244/C.18.79http://dx.doi.org/10.5244/C.18.79.
KIM Y H, MARTI´NEZ A M, KAK A C. Robust motion estimation under varying illumination[J]. Image and Vision Computing, 2005, 23: 365-375.
BROX T, MALIK J. Large displacement optical flow: descriptor matching in variational motion estimation[J]. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2011, 33(3): 500-513.
卢宗庆. 运动图像分析中的光流计算方法研究[D]. 西安: 西安电子科技大学, 2007.
LU Zongqing. Research on optical flow computation for motion image analysis[D]. Xi'an: Xidian University, 2007.
ZHANG Yongliang, LU Huanzhang, GAO Jie, et al. Improvement of Lucas-Kanade method for optical flow estimation[J]. Journal of Naval Aeronautical and Astronautical University, 2009, 24(4): 443-446.
QI Yunguang, AN Gang, ZHANG Jian. Optical flow field computation of color image sequence based on saturation gradient[J]. Journal of Armored Force Engineering Institute, 2012, 26(3): 69-73.
LI Chengmei, BAI Hongyang, GUO Hongwei, et al. Moving object detection and tracking based on improved optical flow method[J]. Chinese Journal of Scientific Instrument, 2018, 39(5): 249-256.
GIBSON J J. The perception of the visual world[M]. Boston: Houghton Mifflin, 1950.
杨盛伟. 无人机光流测速优化算法研究[D]. 南京: 南京航空航天大学, 2019.
YANG Shengwei. Research on optical flow velocity measurement optimization algorithm for rotor UAV[D]. Nanjing: Nanjing University of Aeronautics and Astronautics, 2019.