5)利用公式(1)对目标样本和背景样本进行特征提取,代入公式(4)来更新分类器参数μ1,σ1和μ0,σ0。
输出:第t帧跟踪到的目标位置lt、自适应更新程度参数λ及更新后的分类器参数。
4算法验证
为了验证本文提出的自适应实时压缩感知跟踪算法(简称ACT算法)在视频目标跟踪中的鲁棒性和有效性,使用David、Coupon、Toy、Sylvester、Lemming和Jumping这6个标准视频序列进行测试,并且与文献[15]的 Compressive Tracking算法(简称CT算法)、文献[13]的Multiple Instance Learning算法(简称MIL算法)进行比较。为保证公平设置参数时每个算法处于最优跟踪性能,在CT算法中正样本采集半径α=4,产生45个正样本,负样本采集内半径ζ=8,外半径β=30,在圆环中随机选择50负样本,目标候选区域γ=20,产生约1100个候选区域样本,更新程度参数λ=0.85。在ACT算法中正样本采集半径α=4,产生45个正样本,负样本采集内半径ζ=8,外半径β=30,在圆环中随机选择50负样本,目标候选区域γ=20,产生约1100个候选区域样本,哈希指纹间的汉明距离d在高低阈值H、L不同范围内的自适应更新程度参数为λ1=0.85,λ2=0.35,λ3=0.15。在MIL算法中,正样本采集半径r=25,产生一个45个正样本的正包,负样本采集半径β=50,在负样本集中随机选择65个负样本组成负包,候选弱分类器的个数M=250,从中挑选出响应最大的弱分类器个数为K=50,弱分类器更新学习率ρ=0.85。
4.1定性分析
定性分析,即通过视觉对比,能够对算法进行直观地比较。图3给出3个算法在David、Coupon、Toy、Sylvester、Lemming和Jumping这6个标准视频序列中的跟踪结果。
(a)David视频序列中,跟踪的目标是David的脸部,视频包含光照变化、目标姿势、尺度变化等挑战。由于MIL算法的外观更新公式较粗糙,(a)视频的第290帧光照和目标姿势剧烈变化时,MIL算法跟踪目标失败。CT算法在跟踪过程中出现跟踪漂移,而ACT算法却能准确地跟踪目标,在该视频中取得最佳表现。
(b)Coupon视频序列中,跟踪的目标是一张赠券,背景干扰和遮挡增加了跟踪目标的难度,在该视频中由于没有光照、目标姿态的较大变化,在3个算法中MIL算法能够最优地跟踪目标,由于具有自适应调整更新程度参数的能力,ACT算法比CT算法要好一些。
(c)Toy视频序列中,跟踪的目标是玩偶的正脸,玩偶在跟踪过程中快速运动、多尺度变化和旋转,在(c)视频的第3帧中MIL算法跟丢目标,此时ACT和CT算法还可以准确跟踪目标,到了第82帧CT算法跟踪出现漂移,ACT算法仍能很好地跟踪目标,在本视频序列中ACT算法最佳,CT算法次佳。
(d)Sylvester视频序列中,跟踪的目标是一个玩偶,视频包含光照变化和目标旋转的干扰。ACT算法表现最佳,能准确地跟踪目标,CT在跟踪过程中发生漂移,MIL算法在第959帧中完全跟丢目标。

图36个测试序列的抽样跟踪结果
Fig.3Sampled tracking results of 6 tested sequences
(e)Lemming视频序列中,跟踪的目标是玩偶旅鼠,视频包含背景杂乱、遮挡、旋转、序列较长的因素,在目标发生遮挡时,3个算法的表现并不理想。跟踪过程中ACT算法由于目标被遮挡,导致目标跟丢,但快速调整后能重新准确跟踪目标,而CT算法和MIL算法在目标遮挡时,发生目标跟丢后不能很好地调整,导致跟踪失败。在该视频中ACT算法表现最佳。
(f)Jumping视频序列中,跟踪的目标是跳绳男子的上半身,视频包含模糊运动和快速运动因素,CT算法和ACT算法表现较好,而MIL算法在跟踪目标的过程中出现漂移。
4.2定量分析

表1平均中心误差
Table 1Average center location errors

序列Sequence算法Methods(pixels)ACTCTMILDavid121723Coupon785Toy283236Sylvester4913Lemming51922Jumping7610TotalAverage101518
注:粗体数字表示最佳,斜体表示次佳
Note:Bold fonts indicate the best performance while the italic fonts indicate the second best ones
表2跟踪成功率
Table 2Success rate

序列Sequence算法Methods(%)ACTCTMILDavid928752Coupon949198Toy443542Sylvester997568Lemming986154Jumping959857TotalAverage877461
注:粗体数字表示最佳,斜体表示次佳
Note:Bold fonts indicate the best performance while the italic fonts indicate the second best ones
5结论
针对实时压缩感知目标跟踪算法在目标姿态、纹理或光线变化剧烈时,不能自适应地调整更新分类器,导致跟踪容易发生漂移、丢失目标的问题,提出自适应的实时压缩感知跟踪算法。实验结果表明,在6个具有挑战性的视频中自适应实时压缩感知跟踪算法表现较好,跟踪成功率比CT算法高出13%,比MIL算法高26%。当目标大小为40 pixel×43 pixel时,处理帧速约为37 fps,满足实时性要求。此外,ACT算法在目标运动速度非常快的情况下,跟踪效果不是很理想,这是本文后续要研究和解决的重点问题。
参考文献:
[1]YILMAZ A,JAVED O,SHAH M.Object tracking:A survey[J].ACM Computing Surveys (CSUR),2006,38(4):1-45.
[2]AVIDAN S,TECHNOL M V,JERUSALEM I.Sup-
port vector tracking[C]//Computer Vision and Pattern Recognition.[S.l.]:IEEE,2001:184-191.
[3]JEPSON A D,FLEET D J,EL-MARAGHI T F.Robust online appearance models for visual tracking,IEEE Trans[J].Pattern Anal Mach Intell,2003,25(10):1296-1311.
[4]COLLINS R T,LIU Y,LEORDEANU M.Online selection of discriminative tracking features,IEEE Trans[J].Pattern Anal Mach Intell,2005,27(10):1631-1643.
[5]GRABNER H,LEISTNER C,BISCHOF H.Semi-supervisedon-line boosting for robust tracking[C]//FORSYTH D,TORR P,ZISSERMAN A,eds.Computer Vision-ECCV 2008.[S.l.]:Springer Berlin Heidelberg,2008:234-247.
[6]MEI X,LING H.Robust visual tracking using l1minimization[C]//Proc IEEE Int Comput Vis Conf.Sep.[S.l.:s.n.],2009:1436-1443.DOI:10.1109/ICCV.2009.5459292.
[7]KWON J,LEE K M.Visual tracking decomposition
[C]//Computer Vision and Pattern Recognition(CVPR),2010 IEEE Conference on.SanFrancisco,CA:IEEE,2010:1269-1276.DOI:10.1109/CVPR.2010.5539821.
[8]KALAL Z,MATAS J,MIKOLAJCZYK K.P-N learning:Bootstrapping binary classifiers by structural constraints[C]//Computer Vision and Pattern Recognition(CVPR),2010 IEEE Conference on.SanFrancisco,CA:IEEE,2010:49-56.DOI:10.1109/CVPR.2010.5540231.
[9]WANG Q,CHEN F,XU W L,et al.Online discriminative object tracking with local sparse representation[C]// M in Applications of Computer Vision (WACV),2012 IEEE Workshop on.[S.l.:s.n.],2012:425-432.
[10]AVIDAN S.Ensemble tracking[C]//Computer Visi-
on and Pattern Recognition,IEEE Computer Society Conference.[S.l.:s.n.],2005:261-271.
[11]GRABNER H,BISCHOF H.On-line boosting and vision[C]//Computer Vision and Pattern Recognition,2006 IEEE Computer Society Conference on.[S.l.:s.n.],2006:260-267.
[12]BABENKO B,YANG M H,BELONGIE S.Visual
tracking with online multiple instance learning[C]//Computer Vision and Pattern Recognition,2009.[S.l.]:IEEE,2009:983-990.
[13]BABENKO B,YANG M H,BELONGIE S.Robust
object tracking with online multiple instance learning[J].Pattern Analysis and Machine Intelligence,IEEE Transactions on,2011,33:1619-1632.
[14]ZHANG K H,SONG H H.Real-time visual tracking via online weighted multiple instance learning[J].Pattern Recognition,2013,46:397-411.
[15]ZHANG K H,ZHAGN L,YANG M H.Real-time
compressive tracking[C]//FITZGIBBON A,LAZEBNIK A PERONA P,et al,eds.Computer Vision-ECCV 2012.[S.l.]:Springer Berlin Heidelberg,2012:864-877.
[16]DONOHO D L.Compressed sensing[J].IEEE Tran-
sactions on Information Theory,2006,52 (4):1289-1306.
[17]KRAWETA N.The Hacker factor blog[EB/OL].
[2015-09-22].http://www.hackerfactor.com/blog/index.php?/archives/432-Looks-Like-It.html.
[18]CHEN C.感知哈希算法:找出相似的图片[EB/OL].[2015-09-12].http://www.cnblogs.com/technology/archive/2012/07/12/Perceptual-Hash-Algorithm.html.
CHEN C.Perception of hash algorithm:Find the similar images[EB/OL].[2015-09-12].http://www.cnblogs.com/technology/archive/2012/07/12/Percept-
ual-Hash-Algorithm.html.
(责任编辑:陆雁)
Adaptive Real-time Compressive Sensing Tracking Algorithm
梁剑平,朱晓姝
LIANG Jianping,ZHU Xiaoshu
(玉林师范学院计算机科学与工程学院,广西玉林537000)
(School of Computer Science and Engineering,Yulin Normal University,Yulin,Guangxi,537000,China)
摘要:【目的】解决实时压缩感知跟踪算法分类器无法适应目标外观变化及过更新的问题。【方法】根据当前跟踪结果目标模型的哈希指纹与上一帧目标模型的哈希指纹之间的汉明距离(Hamming distance),在线实时调整分类器,以提高实时压缩感知目标跟踪算法的自适应能力。【结果】自适应实时压缩感知跟踪算法的跟踪成功率比实时压缩感知跟踪算法提高13%,在目标大小为40 pixel×43 pixel时,跟踪速率为37 fps,满足实时性要求。【结论】本研究建立的方法在背景中存在与目标有一定相似性的物体,且目标姿态、纹理变化和光照变化较大等情况下,能快速获取跟踪目标,并且具有较强的鲁棒性和准确性。
关键词:压缩感知目标跟踪哈希指纹汉明距离自适应实时压缩
Abstract:【Objective】To solve the problem of real-time compressed sensing tracking algorithm,which is the inadaptability of classifier to the changes of the target appearance and the over update.【Methods】Base on Hamming distance between the Hash fingerprints of current target and original one, classifier is adjusted in real time, which improved the adaptive capacity of the real-time compressed sensing tracking.【Results】As compared with the real-time compressive sensing tracking algorithm, the proposed algorithm improves the success rate by 13%,and average computing frame rate is 37 frames when the target scale is 40 pixel×43 pixel, which satisfies the requirements of real-time tracking.【Conclusion】The proposed algorithm is tested with variant video sequences.The results show that the proposed algorithm is capable of speedily and accurately capturing the tracking target by target gestures, textures, or significant light change.
Key words:compressive sensing,target tracking,Hash fingerprint,Hamming distance,adaptive,real-time compressive
中图分类号:TP391
文献标识码:A
文章编号:1002-7378(2016)01-0042-07
作者简介:梁剑平(1987-),女,助教,主要从事数字图像处理研究。
收稿日期:2015-10-14
网络优先数字出版时间:2016-01-27
网络优先数字出版地址:http://www.cnki.net/kcms/detail/45.1075.N.20160127.1616.018.html
*广西高校科学技术研究项目(201204LX339和YB2014321)资助。