运动目标检测的ViBe算法改进
Improved ViBe algorithm for detection of moving objects
- 2018年23卷第12期 页码:1813-1828
收稿:2018-05-10,
修回:2018-7-7,
纸质出版:2018-12-16
DOI: 10.11834/jig.180304
移动端阅览

浏览全部资源
扫码关注微信
收稿:2018-05-10,
修回:2018-7-7,
纸质出版:2018-12-16
移动端阅览
目的
2
目标检测在智能交通、自动驾驶以及安防监控中均有重要的地位,ViBe算法是常用的运动目标检测算法,它主要由背景模型初始化、前景检测、背景模型更新3部分组成,其思想简单,易于实现,运算效率高,但当初始帧有运动目标时,检测结果会出现“鬼影”现象,且易受噪声和光照变化影响,不能适应动态场景。同时,其逐帧逐像素进行前景检测,在计算复杂度方面有较大提升空间。为解决这些问题,提出一种改进的ViBe算法,称为ViBeImp算法。
方法
2
在背景模型初始化时,用多帧平均法给出初始背景,采用该初始背景构建初始背景样本模型。在前景检测过程中,采用背景差分法、帧差法与OTSU算法相结合给出半径阈值的自适应计算方法。同时,根据背景差分法找出运动区域,只对运动区域进行前景判断和模型更新,降低算法的计算复杂度。
结果
2
对25个不同场景视频分别给出ViBeImp算法在初始化背景,自适应半径阈值和计算复杂度方面改进的结果及有效性指标,实验结果表明,与ViBe、ViBeDiff2、ViBeIniR,以及Surendra等算法和高斯混合模型相比,ViBeImp算法对噪声、光照和背景动态变化有较好的鲁棒性,检测结果更完整,且实时性较好。同时,ViBeImp算法将ViBe算法的查准率、查全率以及
$${\rm{F}}1 $$
值分别提高了17.98%、11.40%和15.96%。
结论
2
ViBeImp算法采用多帧平均法构建初始背景可有效地消除“鬼影”,并给出半径阈值的自适应计算方法,使ViBe算法更快适应视频环境变化,准确且完整地检测出运动目标,具有较低的误检率和漏检率。该方法克服了ViBe算法对初始背景以及视频环境的依赖,很大程度上提高了运算速度,具有很好的鲁棒性和适用性。
Objective
2
Effective detection of moving objects is a prerequisite in real-time tracking
behavior analysis
and behavioral judgment. Detection of moving objects has been widely applied in the fields of security
intelligent transportation
military
medical
and aerospace. Detection of moving objects is a key issue in the field of computer vision. The common methods used in the detection of moving objects include the optical flow
frame difference
and background subtraction methods. The optical flow method detects the moving region in the image sequence by using the vector feature of moving objects. This method performs well in the case of background motion. However
the computation of this method is complex and time consuming. The frame difference method uses the absolute value of difference between two adjacent frames to detect moving objects. The algorithm is simple and has good robustness. However
the detection results of this algorithm are easily affected by noises and is easy to produce "void". The background subtraction method is the most commonly used method in the detection of moving objects
in which the moving region is detected based on the difference between the current frame and background. The background subtraction method is simple
easy to implement
and can completely extract the object. The ViBe algorithm is a commonly used background subtraction method. This algorithm is mainly composed of background model initialization
foreground detection
and background model update
in which its concept is simple and easy to implement with high efficiency. However
a "ghost" phenomenon occurs in the ViBe algorithm when the initial frame contains moving objects and has the poor adaptability to noise
illumination
and dynamic environment. At the same time
the ViBe algorithm conducts foreground detection on each frame pixel-by-pixel
which has a large room for improvement regarding computational complexity. Thus
in this study
we improve the ViBe algorithm and propose the ViBeImp algorithm.
Method
2
In the ViBe algorithm
the construction of the background sample in the first frame of the video that contains the moving objects leads to the appearance of "ghost". Three solutions are used to solve this problem
where the first solution is by changing the manner of background model initialization
the second solution is by accelerating the elimination of the "ghost"
and the third solution is by combining with other methods to detect the "ghost" areas and deal with them. The acceleration of elimination of the "ghost" does not fundamentally eliminate the "ghost" and still leads to false detection in the initial part of the "ghost". The combination with other methods in detecting the "ghost" increases the complexity and the amount of calculation of the algorithm. Therefore
we modify the initialization of the background model to eliminate the "ghost". In the ViBeImp algorithm
the initial background used for the initial background sampling model is given by a multi-frame average method
which can eliminate the "ghost" to some extent. Different calculation methods of radius threshold directly affect the performance of foreground detection. A suitable radius threshold can be used to adapt to the changes in light and dynamic scenes in the video
which can effectively reduce the occurrence of missed detection and false detection. Thus
in the process of foreground detection
a self-adaptive calculation method of radius threshold is given by combining the background subtraction method
frame difference method
and OTSU algorithm. At the same time
foreground detection and model update are conducted only in the motion area
which are obtained based on the background difference method to reduce the computational complexity of the algorithm.
Result
2
First
the detection results of the ViBeImp algorithm
ViBe algorithm
ViBeDiff2 algorithm
and ViBeIniR algorithm in 25 different scenes that are selected from several public datasets
such as MOTChallenge
CDNET
and ViSOR
are provided with their corresponding precision
recall
and F1 values. Second
the improved detection results and effectiveness of the ViBeImp algorithm in the initialization background
adaptive radius threshold
and computational complexity are given. The ViBeImp algorithm improves the precision
recall
and F1 value of the ViBe algorithm by 13.73%
3.15%
and 9.44%
respectively
when the background initialization method differs from the ViBe algorithm. The ViBeImp algorithm improves the precision
recall
and F1 value of the ViBe algorithm by 11.14%
10.09%
and 12.35%
respectively
when the radius threshold calculation method differs from the ViBe algorithm. In terms of computational complexity
the average processing times per frame of the four methods are given
and 19 videos' average processing time per frame of the ViBeImp algorithm is lower than the ViBe algorithm in the 25 videos
which shows the effectiveness of our improvement in computational complexity. Finally
the comparison among the ViBeImp algorithm
Surendra algorithm
and Gaussian mixture model
which are commonly used in the detection of moving objects
is given. The experimental results show that the ViBeImp algorithm is robust to noise
illumination
and dynamic environment with complete detection results and better performance in real-time compared with the ViBe algorithm
ViBeDiff2 algorithm
ViBeIniR algorithm
Surendra algorithm
and Gaussian Mixture Model. Simultaneously
the ViBeImp algorithm improves the precision
recall and F1 of the ViBe algorithm by 17.98%
11.40%
and 15.96%
respectively.
Conclusion
2
The ViBeImp algorithm uses the multi-frame average method to construct the initial background that can effectively eliminate the "ghost". A self-adaptive calculation method of radius threshold is given
which enables the ViBe algorithm to rapidly adapt to the change of video environment and to accurately and completely detect the moving objects. The ViBe algorithm is a kind of algorithm with low false alarm and missed detection rates. The method overcomes the dependence of the ViBe algorithm on the initial background and video environment and reduces the computational complexity to a great extent with good robustness and applicability.
Barron J L, Fleet D J, Beauchemin S S. Performance of optical flow techniques[J]. International Journal of Computer Vision, 1994, 12(1):43-77.[DOI:10.1007/BF01420984]
Jain R, Nagel H H. On the analysis of accumulative difference pictures from image sequences of real world scenes[J]. IEEE Transactions on Pattern Analysis and Machine Intelligence, 1979, PAMI-1(2):206-214.[DOI:10.1109/TPAMI.1979.4766907]
Rostamianfar O, Janabi-Sharifi F, Hassanzadeh I. Visual tracking system for dense traffic intersections[C ] //Proceedings of 2006 Canadian Conference on Electrical and Computer Engineering. Ottawa, Ont., Canada: IEEE, 2006: 2000-2004.[ DOI: 10.1109/CCECE.2006.277838 http://dx.doi.org/10.1109/CCECE.2006.277838 ]
Stauffer C, Grimson W E L. Adaptive background mixture models for real-time tracking[C ] //Proceedings of 1999 IEEE Computer Society Conference on Computer Vision and Pattern Recognition. Fort Collins, CO, USA: IEEE, 1999: 2-252.[ DOI: 10.1109/CVPR.1999.784637 http://dx.doi.org/10.1109/CVPR.1999.784637 ]
Kim K, Chalidabhongse T H, Harwood D, et al. Real-time foreground-background segmentation using codebook model[J]. Real-Time Imaging, 2005, 11(3):172-185.[DOI:10.1016/j.rti.2004.12.004]
Barnich O, Van Droogenbroeck M. ViBE: a powerful random technique to estimate the background in video sequences[C ] //Proceedings of 2009 IEEE International Conference on Acoustics, Speech and Signal Processing. Taipei, Taiwan: IEEE, 2009: 945-948.[ DOI: 10.1109/ICASSP.2009.4959741 http://dx.doi.org/10.1109/ICASSP.2009.4959741 ]
Xiao Q L, Liang C, Zhou H Y. Ship detection and tracking based on improved ViBe algorithm[J]. China Water Transport, 2016, 16(12):85-87.
肖琦隆, 梁川, 周虹宇.基于改进ViBe算法的船舶检测与追踪[J].中国水运月刊, 2016, 16(12):85-87.
Qi Y, Cao R. Improved visualbackground extractor ViBe algorithm for detecting objects[J]. Computer Engineering and Applications, 2016, 52(23):203-207.
齐悦, 曹锐.改进视觉背景提取ViBe算法的目标检测[J].计算机工程与应用, 2016, 52(23):203-207. [DOI:10.3778/j.issn.1002-8331.1606-0092]
Guo C Y, Du H M, Jiang B B, et al. Research on key technology of visual background extractor algorithm[J]. Application Research of Computers, 2017, 34(5):1548-1552, 1589.
郭冲宇, 杜慧敏, 蒋忭忭, 等.视觉背景提取算法关键技术研究[J].计算机应用研究, 2017, 34(5):1548-1552, 1589. [DOI:10.3969/j.issn.1001-3695.2017.05.061]
Cheng K Y, Hui K F, Zhan Y Z, et al. A novel improved ViBe algorithm to accelerate the ghost suppression[C ] //Proceedings of the 12th International Conference on Natural Computation, Fuzzy Systems and Knowledge Discovery. Changsha, China: IEEE, 2016: 1692-1698.[ DOI: 10.1109/FSKD.2016.7603432 http://dx.doi.org/10.1109/FSKD.2016.7603432 ]
Jin D L, Zhu S H, Sun X, et al. Fusing canny operator with vibe algorithm for target detection[C ] //Proceedings of 2016 Chinese Control and Decision Conference. Yinchuan, China: IEEE, 2016: 119-123.[ DOI: 10.1109/CCDC.2016.7530965 http://dx.doi.org/10.1109/CCDC.2016.7530965 ]
Zhang Y J, Zhao X G, Tan M. Motion detection based on improvedSobel and ViBe algorithm[C ] //Proceedings of the 35th Chinese Control Conference. Chengdu, China: IEEE, 2016: 4143-4148.[ DOI: 10.1109/ChiCC.2016.7553999 http://dx.doi.org/10.1109/ChiCC.2016.7553999 ]
Wu E J, Yang Y F, Tian Z H, et al. An improved ViBe algorithm for restraining ghost and stay object[J]. Journal of Hefei University of Technology, 2016, 39(1):56-61.
吴尔杰, 杨艳芳, 田中贺, 等.一种能快速抑制鬼影及静止目标的ViBe改进算法[J].合肥工业大学学报(自然科学版), 2016, 39(1):56-61. [DOI:10.3969/j.issn.1003-5060.2016.01.011]
Wu J H, Xu B. Vibe moving object detection method based on dynamic threshold[J]. Computer Engineering and Applications, 2017, 53(11):182-186.
吴建胜, 徐博.动态阈值的Vibe运动目标检测[J].计算机工程与应用, 2017, 53(11):182-186. [DOI:10.3778/j.issn.1002-8331.1512-0372]
Xiao B B, Hu W. Foreground extraction in surveillance scene[J]. Computer Engineering and Design, 2016, 37(3):695-699.
肖碧波, 胡伟.监控视频的前景运动物体提取方法[J].计算机工程与设计, 2016, 37(3):695-699. [DOI:10.16208/j.issn1000-7024.2016.03.026]
Min W D, Guo X G, Han Q. An improved ViBe algorithm and its application in traffic video processing[J]. Optics and Precision Engineering, 2017, 25(3):806-811.
闵卫东, 郭晓光, 韩清.改进的ViBe算法及其在交通视频处理中的应用[J].光学精密工程, 2017, 25(3):806-811. [DOI:10.3788/OPE.20172503.0806]
Barnich O, Van Droogenbroeck M. ViBe:a universal background subtraction algorithm for video sequences[J]. IEEE Transactions on Image Processing, 2011, 20(6):1709-1724.[DOI:10.1109/TIP.2010.2101613]
Bouwmans T, Porikli F, Höferlin B, et al. Background modeling and foreground detection for video surveillance[M]. Chapman and Hall/CRC, 2014:7.1-7.23.
Gupte S, Masoud O, Martin R F K, et al. Detection and classification of vehicles[J]. IEEE Transactions on Intelligent Transportation Systems, 2002, 3(1):37-47.[DOI:10.1109/6979.994794]
相关作者
相关机构
京公网安备11010802024621