Hangkong gongcheng jinzhan (Feb 2023)

Real-time measurement of fluorescent oil film motion path based on GPU

  • WU Peiling,
  • ZHANG Zhengyu,
  • SUN Wei

DOI
https://doi.org/10.16615/j.cnki.1674-8190.2023.01.19
Journal volume & issue
Vol. 14, no. 1
pp. 157 – 164,174

Abstract

Read online

In the wind tunnel experiment, the existing CPU-based optical flow method takes too long to solve the velocity field of the fluorescent oil film, while the GPU-based optical flow method has the problem of insufficient utilization of GPU resources.To this end, a real-time measurement method of GPU fluorescent oil film motion path based on fluorescent oil film image segmentation and critical constraints is proposed.The fluorescent oil film time-series image is divided into blocks and processed in parallel according to the resources of the GPU, and the corresponding optical flow parallel computing strategy is created, that is, the advantages of the parallel pipeline architecture of the GPU and the shared memory are fully utilized to realize the optical flow calculation of each parallel block.At the same time, combined with the critical constraints between blocks, the number of iterative calculations is controlled by the iterative difference of the speed matrix of each block as a symbol.The experimental results show that the method proposed in this paper is 2 789.5 times faster than the traditional CPU-based optical flow method under the condition of ensuring the calculation accuracy of the velocity field of the fluorescent oil film motion, and the average speed of the GPU optical flow method of the whole frame image is improved.10.09 times and the real-time solution speed can reach 90 frames per second.

Keywords