节点文献

基于OpenMP的运动目标跟踪算法并行化研究

【作者】 黄众

【导师】 裴以建;

【作者基本信息】 云南大学 , 计算机系统结构, 2011, 硕士

【摘要】 多核并行编程技术的发展,给那些受限于单核运行速度的程序带来了新的曙光,尤其对于那些有时间死限约束的实时程序。在智能交通系统中,基于视频的串行目标跟踪程序在实际应用过程中,如果同一场景中出现的目标数过多,程序将出现严重的性能问题,其实时性无法得到保障。如何设计和开发基于多核技术的目标跟踪程序,以充分利用多核计算优势带来的系统性能提升,成为改善视频目标跟踪程序实时性的一种有效手段。均值漂移算法和粒子滤波算法是两种常用的目标跟踪算法。均值漂移算法是一种非参数化的密度梯度上升方法,通过迭代方式找到目标的新位置。而粒子滤波算法在复杂环境下仍具有优异的跟踪性能。它是一种基于传播样本集的递归Bayes滤波器,在短时间内受遮挡丢失目标后能恢复跟踪,抗干扰能力强,但是其计算量大,在实时程序中容易成为系统的瓶颈。本文针对两种算法存在运算量大、运行速度慢等的问题,分析了两者的特点,借助Intel(?) Parallel Studio工具得出程序的瓶颈和热点区域,再利用基于OpenMP多核并行编程技术对这些地方进行了并行化。另外,本文提出了一种车辆跟踪并行流水线模型,使得视频帧能够进行流水处理。并行区域流水线阶段模型中的每个阶段以并行线程的形式映射到各个处理器上同时执行,以加快程序的执行。模型的优缺点和实际程序的运行加速比也在本文中进行了讨论在四核的环境下对串、并行的均值漂移算法和粒子滤波算法进行运行时间统计,可计算出并行程序的加速比。实验结果表明了多核并行编程技术在提升程序性能方面的优越性,多核程序充分利用了多核计算资源,克服了串行跟踪算法在应用中的性能瓶颈,达到了预期的优化目标。

【Abstract】 The development of multi-core parallel programming technology has brought the new dawn for those programs which are limited to single-core, especially for those real-time programs that have dead-line constraints. In intelligence transportation system, serial video-based tracking programs will encounter the serious performance problems if excessive targets appear in a scene, consequently the real-time cannot be guaranteed. How to design and develop the target tracking programs based on multi-core technology to take full advantages of the performance promotion, becomes an interesting issue to improve the real-time of the object tracking program.Mean shift algorithm and particle filter algorithm are two kind of commonly used target tracking algorithms. Mean shift is a non-parametric method for climbing density gradients, which iteratively finds the new position of the target. Particle filter algorithm has outstanding tracking performance under the complex environment. It is a recursive Bayes filter based on sample set, and has strong anti-interference capability. The program still continues to track the target in a short time after missing target by occluded. But the large amounts of calculation in real-time program easily become the system bottleneck. In this paper, we try to parallel the two algorithms by analyzing those characteristics to solve the problems such as intensive computation and slow speed. The bottlenecks and hotspots of program are detected with Intel Parallel Studio tools, and then the parallelization is implemented to these areas based on the OpenMP.In addition, this paper proposes a parallel pipeline model for vehicle tracking, and makes the video frames processed in a pipeline. Each stage of the parallel pipeline model is mapped to processors, and runs concurrently in the form of parallel threads to accelerate the program. The advantages and disadvantages of the model, the speedup of actual program are also discussed, respectively.In the quad-core environment, we compare the runtime statistics of serial/parallel mean shift algorithm and particle filter algorithm, and respectively calculate the parallel speedup of the programs. The experimental results show the superiority of multi-core parallel programming technology to enhance application performance. It takes full advantage of the computing resources of multi-core processors, thus overcomes the performance bottlenecks of serial tracking algorithms, and has achieved the optimization goal as we expected.

  • 【网络出版投稿人】 云南大学
  • 【网络出版年期】2012年 04期
节点文献中: