一种视频目标跟踪方法
本发明涉及一种视频目标跟踪方法,解决现有跟踪算法在目标光照下跟踪精度和稳定性低,丢失目标的问题,包括1:获得图像M和目标;2:设定目标波门,若M为第一帧图像,则执行步骤3,反之,执行步骤6;3:在目标波门内,生成e个正样本图像块和d个负样本图像块;4:计算每个正样本图像块和负样本图像块的特征值,并获得模板特征向量;5:对贝叶斯分类器进行初始化后返回步骤1;6:绘制搜索框,在搜索框内选设定R个候选图像块,计算每个候选图像块的模板特征向量,利用贝叶斯分类器进行分类,输出下一帧图像的目标位置;若满足跟踪需求,则结束,反之,执行步骤7;7:计算目标位置的模板特征向量,对贝叶斯分类器更新后,返回步骤1。...
Saved in:
| Format | Patent |
|---|---|
| Language | Chinese |
| Published |
11.07.2025
|
| Subjects | |
| Online Access | Get full text |
Cover
| Summary: | 本发明涉及一种视频目标跟踪方法,解决现有跟踪算法在目标光照下跟踪精度和稳定性低,丢失目标的问题,包括1:获得图像M和目标;2:设定目标波门,若M为第一帧图像,则执行步骤3,反之,执行步骤6;3:在目标波门内,生成e个正样本图像块和d个负样本图像块;4:计算每个正样本图像块和负样本图像块的特征值,并获得模板特征向量;5:对贝叶斯分类器进行初始化后返回步骤1;6:绘制搜索框,在搜索框内选设定R个候选图像块,计算每个候选图像块的模板特征向量,利用贝叶斯分类器进行分类,输出下一帧图像的目标位置;若满足跟踪需求,则结束,反之,执行步骤7;7:计算目标位置的模板特征向量,对贝叶斯分类器更新后,返回步骤1。
The invention relates to a video target tracking method, which solves the problems of low tracking precision and stability and target loss of the existing tracking algorithm under target illumination, and comprises the following steps: 1, obtaining an image M and a target; 2, setting a target gate, if M is a first frame of image, executing a step 3, otherwise, executing a step 6; 3, e positive sample image blocks and d negative sample image blocks are generated in the target wave gate; 4, calculating feature values of each positive sample image block and each negative sample image block, and obtaining template feature vectors; 5, initializing the Bayesian classifier and then returning to the step 1; 6, drawing a s |
|---|---|
| Bibliography: | Application Number: CN202211358869 |