Abstract

This paper proposes a target tracking algorithm based on mean shift and template matching. The algorithm is divided into three stages:prediction, template matching, target positioning, and template updating. In the prediction stage, combined with the target position obtained from the previous frame tracking, the target position is predicted using the mean shift method, and the template matching search gate is defined with the predicted position as the center and the corresponding size as the coverage area. At the template matching stage, using fast template matching algorithm, the target template and search gate are quickly matched from coarse to fine, and the matching degree between matching result and target template is calculated. If the matching degree is greater than the given threshold, the fast template matching will be performed and the result will be used as the tracking result of the current frame image. Otherwise, the target position predicted by the mean shift algorithm is used as the tracking results of the current frame image. Finally, the template updating process is controlled by the tracking results of the current frame to update the target template, and the stable tracking of the target is finally completed. At the same time, the algorithm improves the robust of tracking by combining the advantages of color and edge features to the insensitivity of rotation and deformation. The method has fast calculation speed and high accuracy, it can meet real-time requirements.

Highlights

  • This paper proposes a target tracking algorithm based on mean shift and template matching

  • Basketball 第 472 帧 第 15 帧 432∗576 跟踪丢失 跟踪丢失

Read more

Summary

Introduction

西北工业大学学报 Journal of Northwestern Polytechnical University https: / / doi.org / 10.1051 / jnwpu / 20183640792 摘 要:提出了一种基于均值漂移和模板匹配的目标跟踪算法。 算法工作时分为预测、模板匹配与目 标定位及模板更新 3 个阶段。 在预测阶段,结合上一帧跟踪得到的目标位置,利用均值漂移方法对目 标位置进行预测,并以预测位置为中心、以相应的大小为覆盖范围定义模板匹配的搜索波门;在模板 匹配阶段,采用快速模板匹配算法,将目标模板与搜索波门进行由粗到精的快速匹配,并计算所得匹 配结果与目标模板的匹配程度,如果该匹配度大于给定的阈值,则将快速模板匹配的结果作为当前帧 图像的跟踪结果,否则,以均值漂移算法预测的目标位置作为当前帧图像的跟踪结果,最后由当前帧 的跟踪结果控制模板更新过程以更新目标的模板,最终完成对目标的稳定跟踪。 同时该算法结合颜 色和边缘特征对旋转、变形不敏感的优点提高跟踪的鲁棒性。 该方法运算速度快,准确度高,能够满 足实时性要求。 目标跟踪是计算机视觉的一个重要分支,其在 军事侦察、精确制导、火力打击、战场评估以及安防 监控等诸多方面均有广泛的应用前景。 目标的不定 向运动改变了目标和场景的外观模式、非刚性目标 结构,目标间及目标与场景间的遮挡、摄像机的运动 等情况使目标跟踪任务变得更加困难。 跟踪单目标最常用的方法是模板匹配方法,它 一直以算法简单、易于实现等优点被广泛应用于光 电吊舱的目标跟踪器中。 但模板匹配算法是一种穷 尽搜索,当目标运动过快时,需要加大搜索波门,模 板匹配的计算量会成倍增加,对工程应用来说实时 性难以保证;另外,模板匹配算法对目标形变敏感, 当目标发生旋转、变形等姿态变化时,目标特征受到 很大影响,会发生中心点漂移现象, 导致跟踪不准确。 为此,可以采用对旋转、变形不敏感的均值漂移 算法进行目标跟踪。 Comaniciu 等提出的均值漂移 算法是一种非参数估计方法,采用颜色特征和核函 数直方图进行建模和匹配,具有特征稳定、计算速度 快和跟踪效果好等诸多优势,但是以颜色为特征的 均值漂移算法在光照、颜色变化及有相似颜色干扰

Results
Conclusion
Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.