en
×

分享给微信好友或者朋友圈

使用微信“扫一扫”功能。
参考文献 1
艾瑞咨询. 中国人工智能城市展望研究报告 2017年[R// 艾瑞咨询系列研究报告. 2018. http://www.iresearch.com.cn/Detail/report?id=3121&isfree=0.
IncIResearch. 2017 China's artificial intelligence cities report[R// IResearch Series Report.2018. http://www.iresearch.com.cn/Detail/report?id=3121&isfree=0.
参考文献 2
BABAGUCHIN, CAVALLAROA, CHELLAPPAR, et al. Guest editorial: Special issue on intelligent video surveillance for public security and personal privacy[J]. IEEE Transactions on Information Forensics and Security, 2013, 8(10): 1559-1561.DOI: 10.1109/TIFS.2013.2279945
参考文献 3
CUIW H, CHENY Y, SUNC F, et al.Design and implementation of embedded video monitoring system based on Tiny210[C]// 11th World Congress on Intelligent Control and Automation (WCICA). Shenyang: IEEE,2014: 4651-4656.
参考文献 4
侯志强,戴铂,胡丹,等.基于感知深度神经网络的视觉跟踪[J]. 电子与信息学报, 2016, 38(7): 1616-1623.DOI: 10.11999/JEIT151449
HOUZ Q, DAIB, HUD, et al. Robust visual tracking via perceptive deep neural network[J]. Journal of Electronics and Information Technology, 2016, 38(7): 1616-1623. DOI: 10.11999/JEIT151449
参考文献 5
李萌,陈恳,郭春梅,等.融合显著性信息和社会力模型的人群异常检测[J].光电工程,2016,43(12): 193-199.DOI: 10.3969/j.issn.1003-501X.2016.12.029
LIM,CHENK,GUOC M,et al.Abnormal crowd event detection by fusing saliency information and social force model [J]. Opto-Electronic Engineering,2016,43(12):193-199. DOI: 10.3969/j.issn.1003-501X.2016. 12.029
参考文献 6
MARSDENM, MCGUINNESSK, LITTLES, et al.Holistic features for real-time crowd behaviour anomaly detection[C]//IEEE International Conference on Image Processing. Phoenix: IEEE, 2016: 918-922.DOI: 10.1109/ICIP.2016.7532491
参考文献 7
KALTSAV, BRIASSOULIA, KOMPATSIARISI, et al.Swarm intelligence for detecting interesting events in crowded environments[J]. IEEE Transactions on Image Processing, 2015, 24(7): 2153-2166. DOI: 10.1109/TIP.2015.2409559
参考文献 8
MEHRANR, OYAMAA, SHAHM.Abnormal crowd behavior detection using social force model[C]//IEEE Conference on Computer Vision and Pattern Recognition,2009: 935-942.DOI: 10.1109/CVPR.2009.5206641
参考文献 9
ZHANGY H, QINL, JIR R, et al. Social attribute-aware force model: Exploiting richness of interaction for abnormal crowd detection[J]. IEEE Transactions on Circuits and Systems for Video Technology, 2015, 25(7): 1231-1245.DOI: 10.1109/TCSVT. 2014.2355711
参考文献 10
GUX X, CUIJ R, ZHUQ.Abnormal crowd behavior detection by using the particle entropy[J]. Optik-International Journal for Light and Electron Optics, 2014, 125(14): 3428-3433.DOI: 10.1016/j.ijleo.2014.01.041
参考文献 11
RENW Y, LIG H, CHENJ, et al. Abnormal crowd behavior detection using behavior entropy model[C]// International Conference on Wavelet Analysis and Pattern Recognition (ICWAPR). Xian: IEEE, 2012: 212-221. DOI: 10.1109/ICWAPR.2012.6294781
参考文献 12
ZHAOY, YUANM Q, SUG F, et al. Crowd security detection based on entropy model[C]// Proceedings of the ISCRAM 2015 Conference. Kristiansand, 2015.
参考文献 13
张朋跃, 张良.结合光流法与信息熵的人群状态分析[J]. 信号处理, 2015, 31(9):1101-1105.DOI: 10.3969/j.issn.1003-0530.2015.09.010
ZHANGP Y , ZHANGL.Crowd status analysis using optical flow and information entropy[J]. Journal of Signal Processing, 2015, 31(9):1101-1105.DOI: 10.3969/j.issn.1003-0530.2015.09.010
参考文献 14
WANGZ, OUYANGN, HANC J.Unusual event detection without tracking[C]//2009 International Conference on Computational Intelligence and Software Engineering. Wuhan: IEEE,2009: 1-3.DOI: 10.1109/CISE.2009.5364381
参考文献 15
WUX. Design of person flow counting and monitoring system based on feature point extraction of optical flow[C]//IEEE Fifth International Conference on Intelligent Systems Design and Engineering Applications (ISDEA). Hunan: IEEE, 2014: 376-380.DOI: 10.1109/ISDEA.2014.92
参考文献 16
NGUYEND, HUGHESC, HORGANJ.Optical flow-based moving-static separation in driving assistance systems[C]//IEEE 18th International Conference on Intelligent Transportation Systems (ITSC). Las Palmas: IEEE,2015: 1644-1651.DOI: 10.1109/ITSC.2015.267
参考文献 17
PLYERA, BESNERAISG L,CHAMPAGNATF.Massively parallel Lucas Kanade optical flow for real-time video processing applications[J]. Journal of Real-Time Image Processing, 2014, 11(4): 1-18.DOI: 10.1007/s11554-014-0423-0
参考文献 18
HILDRETHE C.The computation of the velocity field[J]. Proceedings of the Royal Society of London B: Biological Sciences, 1984, 221(1223): 189-220.
参考文献 19
BRUHNA, WEICKERTJ, SCHNÖRRC.Lucas/Kanade meets Horn/Schunck: Combining local and global optic flow methods[J]. International Journal of Computer Vision, 2005, 61(3): 211-231.
参考文献 20
NAGELH H.On a constraint equation for the estimation of displacement rates in image sequences[J]. IEEE Transactions on Pattern Analysis and Machine Intelligence, 1989, 11(1): 13-30.DOI:10.1109/34.23110
参考文献 21
MOCHIZUKIY, KAMEDAY, IMIYAA, et al.Variational method for super-resolution optical flow[J]. Signal Processing, 2011, 91(7): 1535-1567.
参考文献 22
SÁNCHEZA, RUIZJ V, MORENOA B, et al.Differential optical flow applied to automatic facial expression recognition[J]. Neurocomputing, 2011, 74(8): 1272-1282. DOI:10.1016/j.neucom.2010.07.017
参考文献 23
LUCASB D, KANADET. An iterative image registration technique with an application to stereo vision [C]//7th Intelnational Joint Conference on Artificial Intelligence (IJCAI). San Francisco: Morgan Kaufmann Publishers Inc, 1981(2): 674-679.
参考文献 24
BRADSKIG, KAEHLERA. Learning OpenCV: Computer Vision with the OpenCV Library[M]. O'Reilly Media, Inc, 2008: 322-336.
参考文献 25
MCELIECER J.The Theory of Information and Coding[M]. Cambridge: Cambridge University Press, 1977.
参考文献 26
朱耀铠.信息系统安全熵值分析方法研究[D].长沙:国防科学技术大学, 2008.
ZHUY K.The Research of Entropy Analysis Method for Information System Security[D].Changsha: National University of Defense Technology,2008.
参考文献 27
张亚红, 李玉鑑, 张婷.检测多元相关关系的最大信息熵方法[J]. 电子与信息学报, 2015, 37(1): 123-129.DOI:10.11999/JEIT140053
ZHANGY H, LIY J, ZHANGT.Detecting multivariable correlation with maximal information entropy[J]. Journal of Electronics and Information Technology, 2015, 37(1): 123-129.DOI:10.11999/JEIT140053
参考文献 28
张连明, 陈志刚.基于信息熵的 IP 网端到端行为分析与建模[J]. 计算机工程与应用, 2004, 40(18): 15-18. DOI: 10.3321/j.issn:1002-8331.2004.18.006
ZHANGL M, CHENZ G.Analysis and modeling of End-to-End behavior based on information entropy in IP network[J]. Computer Engineering and Applications, 2004, 40(18): 15-18.DOI: 10.3321/j.issn:1002-8331.2004.18.006
参考文献 29
CUIX, LIUQ, GAOM, et al. Abnormal detection using interaction energy potentials[C]// IEEE Conference on Computer Vision and Pattern Recognition (CVPR). Colorado Springs: IEEE, 2011: 3161-3167. DOI: 10.1109/CVPR.2011.5995558
参考文献 30
FERRYMANJ, SHAHROKNIA. Pets2009: Dataset and challenge[C]//2009 Twelfth IEEE International Workshop on Performance Evaluation of Tracking and Surveillance. Snowbird: IEEE, 2009: 1-6. DOI: 10.1109/PETS-WINTER.2009.5399556
参考文献 31
高鹏辉, 赵武峰, 沈继忠. 结合背景差分与光流法的人群状态突变检测[J]. 浙江大学学报 (工学版), 2018, 52(4): 649-656. DOI:10.3785/j.issn.1008-973X.2018.04.006
GAOP H, ZHAOW F, SHENJ Z. Detection of crowd state mutation based on background difference algorithm and optical flow algorithm [J]. Journal of Zhejiang University(Engineering Edition), 2018, 52(4): 649-656. DOI:10.3785/j.issn.1008-973X.2018.04.006
参考文献 32
杨世淼.基于Web Server 和 Android 平台的智能幼儿园管理系统[D]. 杭州:浙江大学, 2016.
YANGS M.Intelligent Management System for Kindergarten Based on the Web Server and Android[D]. Hangzhou: Zhejiang University, 2016.
参考文献 33
FAWCETTT.An introduction to ROC analysis[J]. Pattern Recognition Letters, 2006, 27(8): 861-874.DOI:10.1016/j.patrec.2005.10.010
目录 contents

    摘要

    在公园、学校、购物中心等人流密集的地方,如果发生火灾、地震或犯罪案件,易导致类似踩踏的安全事故。需要掌握区域内人群是混乱还是有序疏散的信息,从而尽快采取有效的应对措施,将人员伤亡降至最低。 提出了一种结合光流法与信息熵的人群突发事件检测与判断算法。通过LK光流算法从视频中提取运动物体的特征点,并得到特征点的位置信息;根据位置信息计算速度和加速度,分析运动强度,检测突发事件;由各速度矢量在方向上的分布得到概率,计算信息熵,由信息熵来判断视频中人群的状态是混乱还是有序。与同类算法相比,本算法能在准确检测突发事件的同时判断人群状态,适用于多种不同场景。

    Abstract

    In parks, schools, shopping centers and other crowded places,security incidents are likely to happen in cases of the earthquake, fire and similar accidents. Identifying people's state is of great significance for the arrangement of rescue resources to reduce the casualties. To detect and judge the potential crowd emergencies, this paper proposes an effective algorithm, which is based on optical flow and information entropy of the surveillance video. By adopting LK optical flow algorithm, we extract the feature points of moving objects in the video, thereby obtaining their location, speed and acceleration information. According to acceleration, we can determine whether there are crowd emergencies.Besides, the entropy is calculated through distribution of velocity vector to identify if there is a chaos happening in the video. Compared with the other methods, this algorithm can accurately detect the crowd emergencies, and analyze the state of the crowd. The algorithm is suitable to deal with environment with different backgrounds.

    随着经济的发展,监控摄像头应用越来越多,据调查,目前上海的摄像头数量达100万,分布密度为158个·km-2,北京的摄像头数量达115万,分布密度为71个·km-2,这些摄像头给城市安防提供了保1。 当然,由于监控设备数量较多,安保人员很难长时间高度关注每一个监控视频画面。为了实时监测视频并对突发事件报警,智能监控技术应运而2,3

    智能监控技术在实时观测被监控场景时,能自动对视频中的运动目标进行提取、跟踪和检4,5,并实现对运动行为的描述和分析,如果检测到异常行为就发出警报,为保护人身和财产安全提供帮助。

    群体行为往往会导致严重的安全事件,因此在安防领域,更需关注群体行为的检测。目前,对人群突发事件的检测有提取运动特征进行判6,7、基于社会力模型分8,9、通过信息熵表示人群分布信10,11,12,13等,文献[11]计算了视频中每个像素点的行为熵,通过场景行为熵检测人群异常行为;文献[12]论证了在人群混乱状态,信息熵会很高,在人群有序状态,信息熵会很低;文献[13]结合人群状态指数、人群运动强度指数、人群混乱指数分析人群状态。 现有研究主要通过速度与熵检测人群状态,速度反映当前的运动状态而非运动状态的变化,加速度才能更好地反映突发事件发生时人群运动状态的变化。目前,人群异常检测是综合人群密度、运动状态、人群混乱度等信息来判断的。人群速度突变和混乱程度增加均属异常,现有研究缺乏对人群异常的细分。人群突发事件是指由于自然或人为原因使人群的运动状态发生改变,人群突发事件分为有序和混乱两类。有序的突发事件是指尽管加速度很大,但人群向着同一方向有序地撤退;混乱的突发事件是指加速度很大,人群四散而逃,向多个方向运动。

    本文针对视频监控中的人群突发事件检测和判断进行研究,提出了光流法与信息熵相结合的一种检测算法,此算法能准确检测突发事件并判断人群状态,适用于多种不同背景的环境。通过LK光流算法提取视频中运动物体的特征14,15,得到运动物体特征点的位置、速度和加速度信息,分析运动强度,检测突发事件。通过计算各速度矢量的概率分布,得到信息熵,表征视频中的混乱度,从而判断视频中人群的混乱情况,对事件做出判断。

  • 1 人群突发事件检测算法

  • 1.1 Lucas-Kanade光流算法

    光流是基于像素点定义的,是一种图像运动的表达方式。当观察者与被观察物体发生相对运动时,物体的像素点在成像平面上运动,好像是一种光的“流16,17,18。实际上光19,20是运动物体在二维图像平面上的投影,光流的集合称为光流21,22

    LK光流算23有以下3个假设条24

    (1)亮度恒定:在视频相邻帧之间,运动目标的亮度保持不变;

    (2)时间连续:时间发生变化很小时,帧间对应的运动目标像素点的运动也足够小;

    (3)空间一致性:相邻的像素点具有相似的运动。

    通过光流法的3个假设可以得到光流值与灰度值的关系矩阵:

    VxVy=Ixi2IxiIyiIxiIyiIyi2-1-IxiIti-IyiIti
    (1)

    I(x,y)是图像上像素点(x,y)处的灰度值,i是视频帧数。VxVy即为像素点在xy方向上的光流。由式(1),可求出每一像素点对应的光流值。

    LK光流法用于提取和跟踪特征点,是本文检测算法的基础。

  • 1.2 信息熵的概念

    香农将统计物理中熵的概念引进了信息论,是现代信息论的创始25。 在信息论中,熵用来衡量系统的无序程度。一个系统信息熵H的大小与该系统的状态概率p有关,概率p越小,系统所包含的信息熵H26。信息熵还可用来度量变量间的相关度,对大型数据集的相关性分析非常重27。如果一个系统由状态集{a1,a2,,an}组成,而每一个状态所对应的概率分别为p1,p2,,pni=1npi=1,那么系统的信息熵H定义为

    Hn=H(p1,p2,,pn)=-i=1npilogpi
    (2)

    信息熵具有以下基本性28

    (1)最大信息熵:Hn=H(p1,p2,,pn)logn,当且仅当pi=1n,i=1,2,,n时取等号。

    (2)最小信息熵:Hn=H(p1,p2,,pn)0Hn=0当且仅当pi=1,p1=p2==pi-1=pi+1==pn=0

    (3)对称性:H(p1,p2,,pn)=H(p2,p1,,pn),即样本重新排序后,熵保持不变。

    从以上信息熵的性质可以看出,若用信息熵来描述一个系统的运动状态,当系统中运动状态趋向一致时,会出现最小的熵值,此时系统是有序的;反之,当系统中各个运动状态都不同时,会出现最大的熵值,此时各个方向的运动状态出现的概率相等。

    信息熵代表了混乱度,是算法的关键。将信息熵应用于突发事件检测,可方便判断人群处于混乱还是有序状态。

  • 1.3 人群突发事件检测步骤

    突发事件发生时,人群的运动强度会发生很大的变化,特征点的加速度相对较大;如果人群处于混乱状态,那么,计算得到的所有特征点的信息熵会很大。为此,提出检测突发事件、判断人群混乱状态的算法步骤:

    (1)光流法提取并追踪视频中图像的特征点;

    (2)根据每帧图像中特征点的位置变化,计算其运动加速度,通过设定加速度阈值分析特征点的运动强度,检测是否有突发事件发生;

    (3)将速度矢量方向划分为8个区域,计算特征点的速度矢量在每个区域中的分布概率pi

    (4)根据式(2)由分布概率pi计算信息熵,通过信息熵的大小,判断事件中人群状态是有序还是无序。结合运动强度与混乱度检测并判断突发事件的紧急程度。

    各步骤具体描述如下:

    步骤1 调用goodFeaturesToTrack函数获得图像中的特征点,通过光流算法得到特征点(x,y)在视频的第t帧对应的位置信息(Vx,Vy)

    步骤2 通过位置信息计算速度,公式为

    vx,y=(Vxt-Vxt-1)2+(Vyt-Vyt-1)2
    (3)

    前一帧和后一帧的速度差即为加速度。

    假设其中共有n个特征点,特征点对应的光流加速度分别为a1,a2,,an,对光流加速度进行高斯滤波处理,抑制异常的光流加速度,得到高斯滤波后的第m个光流加速度:

    am¯=ame-(am-μ)2
    (4)

    其中,am¯为高斯滤波后的第m个光流加速度,am为第m个光流加速度,1mnμ=i=1nain为光流加速度的均值;计算视频在第t帧中所有特征点的加速度之和,记为At,当At大于加速度阈值时,说明视频中运动强度很大,有突发事件发生。

    加速度阈值的设置方法:检测一个突发事件未发生的场景,获取一段时间内的视频,并输出视频图像中特征点的加速度数据,加速度阈值设定为加速度数据中最大值的2倍左右,加速度阈值与场景、光照、人群密度等有关。在此基础上可通过信息熵的大小判断人群状态是有序还是混乱,从而判断是否易发生安全性事故。

    步骤3 如图1所示,将速度矢量方向划分为8个区域,统计各速度矢量在每个区域的分布数量,各区域速度矢量的数量除以速度矢量的总数得到速度矢量在方向上的分布概率pi。本文用分布的统计结果近似代替概率。

    图1
                            信息熵计算分区示意图

    图1 信息熵计算分区示意图

    Fig.1 Partition diagram for information entropy calculation

    步骤4 根据式(2)的定义计算信息熵Hn。计算时以10为底取对数,Hn的单位为det(迪特),根据实验测试设置信息熵的阈值为0.5 det,当信息熵超过阈值时,人群处于混乱状态,否则,人群处于有序状态。根据信息熵的性质,最大熵为lg 8=0.903 det,最小熵为0。测试验证得到,阈值设置为0.5 det就可很好地区分混乱和有序状态。值得注意的是,本文是对运动矢量统计计算得到信息熵,而非计算静态像素分布熵,反映的是视频中人群的运动情况。

  • 2 实验结果与分析

    分析了研究者自己拍摄的人群突发事件视频、UMN(University of Minnesota)数据29视频和PETS 200930数据集视频。

  • 2.1 自拍摄人群突发事件视频

    突发事件发生前人群的行为有自由行走、定向行走、人群静止等,一共有6段视频,分辨率为640×480,帧率为30 fps。

    按照1.3节中的检测步骤,计算视频中的加速度和信息熵,图2(a)显示了人群突发事件视频的截图,图2(b)显示的是加速度随帧数变化的检测结果,根据1.3节中的阈值设置方法,加速度阈值设置为100,加速度的单位是像素/2。可以看出,在视频的0~184帧中,加速度在阈值内,未发生人群突发事件。184~218帧,加速度超过阈值,检测到有突发事件发生。图2(c)显示的是加速度超过阈值时信息熵的大小,可以看出,在加速度大于100时,对应时间范围内信息熵均大于阈值0.5 det,说明视频中的人群处于混乱状态。将算法检测的结果与视频的真实情况进行对比,两者情况相符。当视频中加速度超过阈值时,判断人群是否处于混乱状态,结合运动强度与混乱度判断突发事件的紧急程度,并判断是否易发安全性事故。

    图2
                            自拍摄视频测试结果

    图2 自拍摄视频测试结果

    Fig.2 Test results of our video

    本文没有将加速度小于阈值的信息熵输出,是因为未发生突发事件检测人群的状态无太大意义。例如,人群随意走动时,混乱度也很大,但不会发生安全事故。而且,减少不必要的计算可以提高算法效率。

    突发事件发生后人群处于有序状态的视频检测结果如图3所示。

    图3
                            自拍摄视频测试结果

    图3 自拍摄视频测试结果

    Fig.3 Test results of our video

  • 2.2 PETS 2009数据集

    PETS 2009数据集的S3部分是人群事件识别的内容,包括4种不同的户外背景,分辨率为768×576。

    4显示了PETS 2009数据集的测试结果,从图4(b)中可以看出,算法有效地检测出了人群突发事件,结合图4(a)和(c)发现,第1段和第2段视频人群处于有序状态,第2段和第4段视频人群处于混乱状态。检测结果表明,算法能有效检测出突发事件,并判断人群处于混乱还是有序状态。

    图4
                            PETS2009数据集测试结果

    图4 PETS2009数据集测试结果

    Fig.4 Test results of PETS 2009 Dataset

  • 2.3 UMN数据集

    UMN数据集中人群异常行为检测的部分包括公园草地、广场、室内走道3种背景的11个视频片段,分辨率为320×240。

    5显示了UMN数据集的测试结果,从图5(b)中可以看出,算法有效检测出了人群突发事件,结合图5(a)和(c)可以发现,第1段和第2段视频人群处于混乱状态,第3段视频人群处于有序状态,检测结果与实际情况相符。

    图5
                            UMN数据集测试结果

    图5 UMN数据集测试结果

    Fig.5 Test results of UMN dataset

  • 2.4 实验结果分析

    2.4.1 对比图3,4,5中不同背景视频的检测结果发现,在排球场、公园草地、广场、室内走道等背景中,算法能有效检测突发事件,判断人群状态。实验采用多种场景,这些场景的光照、对比度、色彩等各不相同,说明算法适用范围广。

    2.4.2 实验结果对比显示,算法根据信息熵的大小判断人群的状态,有效区分人群处于混乱还是有序的状态,可为突发事件的紧急程度判断提供参考,从而有针对性地采取措施。

    2.4.3 图3属于局部事件,即发生突发事件的人群只占整个画面的一部分;图5属于全局事件,发生突发事件的人群几乎占据了整个画面。从局部事件和全局事件的测试结果看,无论视频中人群的像素点占画面的小部分还是大部分,对算法均无影响,均能有效检测出突发事件,判断人群处于混乱还是有序状态。

    2.4.4 目前视频监控中常用的分辨率为QCIF(176×144)、CIF(352×288)、HALF

    D1(704×288)、D1(704×576)等 31,32,测试数据集中分辨率为320×240,640×480, 768×576,本方法仍能准确检测人群突发事件。

  • 2.5 同类人群突发事件检测算法比较

    国际上通常使用受试者工作特征曲线 (receiver operating characteristic, ROC)反映人群突发事件检测算法的准确性和鲁棒性,本文算法的ROC曲线如图6所示。

    图6
                            UMN测试集的ROC曲线

    图6 UMN测试集的ROC曲线

    Fig.6 ROC of UMN dataset

    定义ROC曲线与x轴和直线x=1围成的封闭区域面积为AUC(area under the curve),AUC值越大,检测算法的准确性和鲁棒性越33

    在众多人群异常事件检测算法的文献中,将UMN数据29作为测试集,本文基于UMN数据集对不同算法的性能做对比。性能比较好的为KALTSA7结合histograms of oriented swarms (HOS)和 histograms of oriented gradients (HOG)进行检测的工作,以及MARSDEN6通过人群聚集和冲突的特征(holistic features)检测突发事件的工作,表1为本文算法与这2种算法基于相同的UMN场景的结果。

    表1 不同算法AUC比较

    Table 1 Comparison of different algorithms

    算法UMN1UMN2UMN3
    Holistic features [6]0.9530.9640.913
    HOS-HOG [7]0.9960.9810.934
    本文算法0.9770.9640.949

    从表1看,以上3种算法都具有较高的性能,本文算法较文献[6]算法的准确性和鲁棒性更高,较文献[7]算法性能稍逊,但费时较文献[7]少很多,在158×238分辨率下,文献[7]算法的时间是0.91 s/帧,本算法在320×240分辨率下的时间为0.03 s/帧,并且本文算法能在准确率较高的基础上区分突发事件中人群的混乱或有序状态,对事件的紧急程度做出判断。

    综上所述,结合光流法与信息熵的人群突发事件检测与判断算法可有效检测突发事件,判断人群处于混乱还是有序的状态,有助于更好地获得视频中的信息。实验结果表明,该算法适用于多种不同背景的环境,适用范围广;多次实验结果与实际相符合,准确率高。

  • 3 结 论

    提出了一种结合光流法与信息熵的人群突发事件检测与判断算法。该算法将信息熵的概念与智能视频监控相结合,表征了视频中人群的混乱度。通过LK光流算法从视频中提取运动物体的特征点,得到其位置信息,由位置信息计算速度和加速度,分析运动强度,检测突发事件;根据各速度矢量的概率分布计算信息熵,由此来判断视频中的人群是混乱还是有序。与同类研究相比,因本研究将加速度与信息熵相结合来检测突发事件、判断人群状态,能更好地反映突发事件发生时人群运动状态的变化,对人群状态是混乱还是有序做了细分,有利于判断突发事件的紧急程度,从而合理配置救援资源。本算法在测试视频中AUC值平均达到0.963,当视频分辨率为320×240、640×480、768×576时均有较高的准确性和鲁棒性。

  • 参考文献(References)

    • 1

      艾瑞咨询. 中国人工智能城市展望研究报告 2017年[R

      // 艾瑞咨询系列研究报告. 2018. http://www.iresearch.com.cn/Detail/report?id=3121&isfree=0.

      IResearch Inc. 2017 China's artificial intelligence cities report[R

      // IResearch Series Report.2018. http://www.iresearch.com.cn/Detail/report?id=3121&isfree=0.

    • 2

      BABAGUCHI N, CAVALLARO A, CHELLAPPA R, et al. Guest editorial: Special issue on intelligent video surveillance for public security and personal privacy[J]. IEEE Transactions on Information Forensics and Security, 2013, 8(10): 1559-1561.DOI: 10.1109/TIFS.2013.2279945

    • 3

      CUI W H, CHEN Y Y, SUN C F, et al.Design and implementation of embedded video monitoring system based on Tiny210[C]// 11th World Congress on Intelligent Control and Automation (WCICA). Shenyang: IEEE,2014: 4651-4656.

    • 4

      侯志强,戴铂,胡丹,等.基于感知深度神经网络的视觉跟踪[J]. 电子与信息学报, 2016, 38(7): 1616-1623.DOI: 10.11999/JEIT151449

      HOU Z Q, DAI B, HU D, et al. Robust visual tracking via perceptive deep neural network[J]. Journal of Electronics and Information Technology, 2016, 38(7): 1616-1623. DOI: 10.11999/JEIT151449

    • 5

      李萌,陈恳,郭春梅,等.融合显著性信息和社会力模型的人群异常检测[J].光电工程,2016,43(12): 193-199.DOI: 10.3969/j.issn.1003-501X.2016.12.029

      LI M,CHEN K,GUO C M,et al.Abnormal crowd event detection by fusing saliency information and social force model [J]. Opto-Electronic Engineering,2016,43(12):193-199. DOI: 10.3969/j.issn.1003-501X.2016. 12.029

    • 6

      MARSDEN M, MCGUINNESS K, LITTLE S, et al.Holistic features for real-time crowd behaviour anomaly detection[C]//IEEE International Conference on Image Processing. Phoenix: IEEE, 2016: 918-922.DOI: 10.1109/ICIP.2016.7532491

    • 7

      KALTSA V, BRIASSOULI A, KOMPATSIARIS I, et al.Swarm intelligence for detecting interesting events in crowded environments[J]. IEEE Transactions on Image Processing, 2015, 24(7): 2153-2166. DOI: 10.1109/TIP.2015.2409559

    • 8

      MEHRAN R, OYAMA A, SHAH M.Abnormal crowd behavior detection using social force model[C]//IEEE Conference on Computer Vision and Pattern Recognition,2009: 935-942.DOI: 10.1109/CVPR.2009.5206641

    • 9

      ZHANG Y H, QIN L, JI R R, et al. Social attribute-aware force model: Exploiting richness of interaction for abnormal crowd detection[J]. IEEE Transactions on Circuits and Systems for Video Technology, 2015, 25(7): 1231-1245.DOI: 10.1109/TCSVT. 2014.2355711

    • 10

      GU X X, CUI J R, ZHU Q.Abnormal crowd behavior detection by using the particle entropy[J]. Optik-International Journal for Light and Electron Optics, 2014, 125(14): 3428-3433.DOI: 10.1016/j.ijleo.2014.01.041

    • 11

      REN W Y, LI G H, CHEN J, et al. Abnormal crowd behavior detection using behavior entropy model[C]// International Conference on Wavelet Analysis and Pattern Recognition (ICWAPR). Xian: IEEE, 2012: 212-221. DOI: 10.1109/ICWAPR.2012.6294781

    • 12

      ZHAO Y, YUAN M Q, SU G F, et al. Crowd security detection based on entropy model[C]// Proceedings of the ISCRAM 2015 Conference. Kristiansand, 2015.

    • 13

      张朋跃, 张良.结合光流法与信息熵的人群状态分析[J]. 信号处理, 2015, 31(9):1101-1105.DOI: 10.3969/j.issn.1003-0530.2015.09.010

      ZHANG P Y , ZHANG L.Crowd status analysis using optical flow and information entropy[J]. Journal of Signal Processing, 2015, 31(9):1101-1105.DOI: 10.3969/j.issn.1003-0530.2015.09.010

    • 14

      WANG Z, OUYANG N, HAN C J.Unusual event detection without tracking[C]//2009 International Conference on Computational Intelligence and Software Engineering. Wuhan: IEEE,2009: 1-3.DOI: 10.1109/CISE.2009.5364381

    • 15

      WU X. Design of person flow counting and monitoring system based on feature point extraction of optical flow[C]//IEEE Fifth International Conference on Intelligent Systems Design and Engineering Applications (ISDEA). Hunan: IEEE, 2014: 376-380.DOI: 10.1109/ISDEA.2014.92

    • 16

      NGUYEN D, HUGHES C, HORGAN J.Optical flow-based moving-static separation in driving assistance systems[C]//IEEE 18th International Conference on Intelligent Transportation Systems (ITSC). Las Palmas: IEEE,2015: 1644-1651.DOI: 10.1109/ITSC.2015.267

    • 17

      PLYER A, BESNERAIS G L,CHAMPAGNAT F.Massively parallel Lucas Kanade optical flow for real-time video processing applications[J]. Journal of Real-Time Image Processing, 2014, 11(4): 1-18.DOI: 10.1007/s11554-014-0423-0

    • 18

      HILDRETH E C.The computation of the velocity field[J]. Proceedings of the Royal Society of London B: Biological Sciences, 1984, 221(1223): 189-220.

    • 19

      BRUHN A, WEICKERT J, SCHNÖRR C.Lucas/Kanade meets Horn/Schunck: Combining local and global optic flow methods[J]. International Journal of Computer Vision, 2005, 61(3): 211-231.

    • 20

      NAGEL H H.On a constraint equation for the estimation of displacement rates in image sequences[J]. IEEE Transactions on Pattern Analysis and Machine Intelligence, 1989, 11(1): 13-30.DOI:10.1109/34.23110

    • 21

      MOCHIZUKI Y, KAMEDA Y, IMIYA A, et al.Variational method for super-resolution optical flow[J]. Signal Processing, 2011, 91(7): 1535-1567.

    • 22

      SÁNCHEZ A, RUIZ J V, MORENO A B, et al.Differential optical flow applied to automatic facial expression recognition[J]. Neurocomputing, 2011, 74(8): 1272-1282. DOI:10.1016/j.neucom.2010.07.017

    • 23

      LUCAS B D, KANADE T. An iterative image registration technique with an application to stereo vision [C]//7th Intelnational Joint Conference on Artificial Intelligence (IJCAI). San Francisco: Morgan Kaufmann Publishers Inc, 1981(2): 674-679.

    • 24

      BRADSKI G, KAEHLER A. Learning OpenCV: Computer Vision with the OpenCV Library[M]. O'Reilly Media, Inc, 2008: 322-336.

    • 25

      MCELIECE R J.The Theory of Information and Coding[M]. Cambridge: Cambridge University Press, 1977.

    • 26

      朱耀铠.信息系统安全熵值分析方法研究[D].长沙:国防科学技术大学, 2008.

      ZHU Y K.The Research of Entropy Analysis Method for Information System Security[D].Changsha: National University of Defense Technology,2008.

    • 27

      张亚红, 李玉鑑, 张婷.检测多元相关关系的最大信息熵方法[J]. 电子与信息学报, 2015, 37(1): 123-129.DOI:10.11999/JEIT140053

      ZHANG Y H, LI Y J, ZHANG T.Detecting multivariable correlation with maximal information entropy[J]. Journal of Electronics and Information Technology, 2015, 37(1): 123-129.DOI:10.11999/JEIT140053

    • 28

      张连明, 陈志刚.基于信息熵的 IP 网端到端行为分析与建模[J]. 计算机工程与应用, 2004, 40(18): 15-18. DOI: 10.3321/j.issn:1002-8331.2004.18.006

      ZHANG L M, CHEN Z G.Analysis and modeling of End-to-End behavior based on information entropy in IP network[J]. Computer Engineering and Applications, 2004, 40(18): 15-18.DOI: 10.3321/j.issn:1002-8331.2004.18.006

    • 29

      CUI X, LIU Q, GAO M, et al. Abnormal detection using interaction energy potentials[C]// IEEE Conference on Computer Vision and Pattern Recognition (CVPR). Colorado Springs: IEEE, 2011: 3161-3167. DOI: 10.1109/CVPR.2011.5995558

    • 30

      FERRYMAN J, SHAHROKNI A. Pets2009: Dataset and challenge[C]//2009 Twelfth IEEE International Workshop on Performance Evaluation of Tracking and Surveillance. Snowbird: IEEE, 2009: 1-6. DOI: 10.1109/PETS-WINTER.2009.5399556

    • 31

      高鹏辉, 赵武峰, 沈继忠. 结合背景差分与光流法的人群状态突变检测[J]. 浙江大学学报 (工学版), 2018, 52(4): 649-656. DOI:10.3785/j.issn.1008-973X.2018.04.006

      GAO P H, ZHAO W F, SHEN J Z. Detection of crowd state mutation based on background difference algorithm and optical flow algorithm [J]. Journal of Zhejiang University(Engineering Edition), 2018, 52(4): 649-656. DOI:10.3785/j.issn.1008-973X.2018.04.006

    • 32

      杨世淼.基于Web Server 和 Android 平台的智能幼儿园管理系统[D]. 杭州:浙江大学, 2016.

      YANG S M.Intelligent Management System for Kindergarten Based on the Web Server and Android[D]. Hangzhou: Zhejiang University, 2016.

    • 33

      FAWCETT T.An introduction to ROC analysis[J]. Pattern Recognition Letters, 2006, 27(8): 861-874.DOI:10.1016/j.patrec.2005.10.010

邓立

机 构:浙江大学 信息与电子工程学院, 浙江 杭州 310027

Affiliation:College of Information Science & Electronic Engineering, Zhejiang University, Hangzhou 310027, China

邮 箱:dengli@zju.edu.cn.

作者简介:邓立(1993—),ORCID:http//orcid.org/0000-0002-9978-3337,男,硕士研究生,主要从事视频检测与智能监控的研究工作,E-mail:dengli@zju.edu.cn.

沈继忠

机 构:浙江大学 信息与电子工程学院, 浙江 杭州 310027

Affiliation:College of Information Science & Electronic Engineering, Zhejiang University, Hangzhou 310027, China

角 色:通讯作者

Role:Corresponding author

邮 箱:jzshen@zju.edu.cn.

作者简介:ORCID:http//orcid.org/0000-0002-9031-2379,E-mail:jzshen@zju.edu.cn.

高鹏辉

机 构:浙江大学 信息与电子工程学院, 浙江 杭州 310027

Affiliation:College of Information Science & Electronic Engineering, Zhejiang University, Hangzhou 310027, China

1008⁃9497-2019-46-1-45/alternativeImage/8ec34876-bb74-45b1-afd9-e996b1250802-F001.jpg
1008⁃9497-2019-46-1-45/alternativeImage/8ec34876-bb74-45b1-afd9-e996b1250802-F002.jpg
1008⁃9497-2019-46-1-45/alternativeImage/8ec34876-bb74-45b1-afd9-e996b1250802-F003.jpg
1008⁃9497-2019-46-1-45/alternativeImage/8ec34876-bb74-45b1-afd9-e996b1250802-F004.jpg
1008⁃9497-2019-46-1-45/alternativeImage/8ec34876-bb74-45b1-afd9-e996b1250802-F005.jpg
1008⁃9497-2019-46-1-45/alternativeImage/8ec34876-bb74-45b1-afd9-e996b1250802-F006.jpg
算法UMN1UMN2UMN3
Holistic features [6]0.9530.9640.913
HOS-HOG [7]0.9960.9810.934
本文算法0.9770.9640.949

图1 信息熵计算分区示意图

Fig.1 Partition diagram for information entropy calculation

图2 自拍摄视频测试结果

Fig.2 Test results of our video

图3 自拍摄视频测试结果

Fig.3 Test results of our video

图4 PETS2009数据集测试结果

Fig.4 Test results of PETS 2009 Dataset

图5 UMN数据集测试结果

Fig.5 Test results of UMN dataset

图6 UMN测试集的ROC曲线

Fig.6 ROC of UMN dataset

表1 不同算法AUC比较

Table 1 Comparison of different algorithms

image /

无注解

无注解

无注解

无注解

无注解

无注解

无注解

  • 参考文献(References)

    • 1

      艾瑞咨询. 中国人工智能城市展望研究报告 2017年[R

      // 艾瑞咨询系列研究报告. 2018. http://www.iresearch.com.cn/Detail/report?id=3121&isfree=0.

      IResearch Inc. 2017 China's artificial intelligence cities report[R

      // IResearch Series Report.2018. http://www.iresearch.com.cn/Detail/report?id=3121&isfree=0.

    • 2

      BABAGUCHI N, CAVALLARO A, CHELLAPPA R, et al. Guest editorial: Special issue on intelligent video surveillance for public security and personal privacy[J]. IEEE Transactions on Information Forensics and Security, 2013, 8(10): 1559-1561.DOI: 10.1109/TIFS.2013.2279945

    • 3

      CUI W H, CHEN Y Y, SUN C F, et al.Design and implementation of embedded video monitoring system based on Tiny210[C]// 11th World Congress on Intelligent Control and Automation (WCICA). Shenyang: IEEE,2014: 4651-4656.

    • 4

      侯志强,戴铂,胡丹,等.基于感知深度神经网络的视觉跟踪[J]. 电子与信息学报, 2016, 38(7): 1616-1623.DOI: 10.11999/JEIT151449

      HOU Z Q, DAI B, HU D, et al. Robust visual tracking via perceptive deep neural network[J]. Journal of Electronics and Information Technology, 2016, 38(7): 1616-1623. DOI: 10.11999/JEIT151449

    • 5

      李萌,陈恳,郭春梅,等.融合显著性信息和社会力模型的人群异常检测[J].光电工程,2016,43(12): 193-199.DOI: 10.3969/j.issn.1003-501X.2016.12.029

      LI M,CHEN K,GUO C M,et al.Abnormal crowd event detection by fusing saliency information and social force model [J]. Opto-Electronic Engineering,2016,43(12):193-199. DOI: 10.3969/j.issn.1003-501X.2016. 12.029

    • 6

      MARSDEN M, MCGUINNESS K, LITTLE S, et al.Holistic features for real-time crowd behaviour anomaly detection[C]//IEEE International Conference on Image Processing. Phoenix: IEEE, 2016: 918-922.DOI: 10.1109/ICIP.2016.7532491

    • 7

      KALTSA V, BRIASSOULI A, KOMPATSIARIS I, et al.Swarm intelligence for detecting interesting events in crowded environments[J]. IEEE Transactions on Image Processing, 2015, 24(7): 2153-2166. DOI: 10.1109/TIP.2015.2409559

    • 8

      MEHRAN R, OYAMA A, SHAH M.Abnormal crowd behavior detection using social force model[C]//IEEE Conference on Computer Vision and Pattern Recognition,2009: 935-942.DOI: 10.1109/CVPR.2009.5206641

    • 9

      ZHANG Y H, QIN L, JI R R, et al. Social attribute-aware force model: Exploiting richness of interaction for abnormal crowd detection[J]. IEEE Transactions on Circuits and Systems for Video Technology, 2015, 25(7): 1231-1245.DOI: 10.1109/TCSVT. 2014.2355711

    • 10

      GU X X, CUI J R, ZHU Q.Abnormal crowd behavior detection by using the particle entropy[J]. Optik-International Journal for Light and Electron Optics, 2014, 125(14): 3428-3433.DOI: 10.1016/j.ijleo.2014.01.041

    • 11

      REN W Y, LI G H, CHEN J, et al. Abnormal crowd behavior detection using behavior entropy model[C]// International Conference on Wavelet Analysis and Pattern Recognition (ICWAPR). Xian: IEEE, 2012: 212-221. DOI: 10.1109/ICWAPR.2012.6294781

    • 12

      ZHAO Y, YUAN M Q, SU G F, et al. Crowd security detection based on entropy model[C]// Proceedings of the ISCRAM 2015 Conference. Kristiansand, 2015.

    • 13

      张朋跃, 张良.结合光流法与信息熵的人群状态分析[J]. 信号处理, 2015, 31(9):1101-1105.DOI: 10.3969/j.issn.1003-0530.2015.09.010

      ZHANG P Y , ZHANG L.Crowd status analysis using optical flow and information entropy[J]. Journal of Signal Processing, 2015, 31(9):1101-1105.DOI: 10.3969/j.issn.1003-0530.2015.09.010

    • 14

      WANG Z, OUYANG N, HAN C J.Unusual event detection without tracking[C]//2009 International Conference on Computational Intelligence and Software Engineering. Wuhan: IEEE,2009: 1-3.DOI: 10.1109/CISE.2009.5364381

    • 15

      WU X. Design of person flow counting and monitoring system based on feature point extraction of optical flow[C]//IEEE Fifth International Conference on Intelligent Systems Design and Engineering Applications (ISDEA). Hunan: IEEE, 2014: 376-380.DOI: 10.1109/ISDEA.2014.92

    • 16

      NGUYEN D, HUGHES C, HORGAN J.Optical flow-based moving-static separation in driving assistance systems[C]//IEEE 18th International Conference on Intelligent Transportation Systems (ITSC). Las Palmas: IEEE,2015: 1644-1651.DOI: 10.1109/ITSC.2015.267

    • 17

      PLYER A, BESNERAIS G L,CHAMPAGNAT F.Massively parallel Lucas Kanade optical flow for real-time video processing applications[J]. Journal of Real-Time Image Processing, 2014, 11(4): 1-18.DOI: 10.1007/s11554-014-0423-0

    • 18

      HILDRETH E C.The computation of the velocity field[J]. Proceedings of the Royal Society of London B: Biological Sciences, 1984, 221(1223): 189-220.

    • 19

      BRUHN A, WEICKERT J, SCHNÖRR C.Lucas/Kanade meets Horn/Schunck: Combining local and global optic flow methods[J]. International Journal of Computer Vision, 2005, 61(3): 211-231.

    • 20

      NAGEL H H.On a constraint equation for the estimation of displacement rates in image sequences[J]. IEEE Transactions on Pattern Analysis and Machine Intelligence, 1989, 11(1): 13-30.DOI:10.1109/34.23110

    • 21

      MOCHIZUKI Y, KAMEDA Y, IMIYA A, et al.Variational method for super-resolution optical flow[J]. Signal Processing, 2011, 91(7): 1535-1567.

    • 22

      SÁNCHEZ A, RUIZ J V, MORENO A B, et al.Differential optical flow applied to automatic facial expression recognition[J]. Neurocomputing, 2011, 74(8): 1272-1282. DOI:10.1016/j.neucom.2010.07.017

    • 23

      LUCAS B D, KANADE T. An iterative image registration technique with an application to stereo vision [C]//7th Intelnational Joint Conference on Artificial Intelligence (IJCAI). San Francisco: Morgan Kaufmann Publishers Inc, 1981(2): 674-679.

    • 24

      BRADSKI G, KAEHLER A. Learning OpenCV: Computer Vision with the OpenCV Library[M]. O'Reilly Media, Inc, 2008: 322-336.

    • 25

      MCELIECE R J.The Theory of Information and Coding[M]. Cambridge: Cambridge University Press, 1977.

    • 26

      朱耀铠.信息系统安全熵值分析方法研究[D].长沙:国防科学技术大学, 2008.

      ZHU Y K.The Research of Entropy Analysis Method for Information System Security[D].Changsha: National University of Defense Technology,2008.

    • 27

      张亚红, 李玉鑑, 张婷.检测多元相关关系的最大信息熵方法[J]. 电子与信息学报, 2015, 37(1): 123-129.DOI:10.11999/JEIT140053

      ZHANG Y H, LI Y J, ZHANG T.Detecting multivariable correlation with maximal information entropy[J]. Journal of Electronics and Information Technology, 2015, 37(1): 123-129.DOI:10.11999/JEIT140053

    • 28

      张连明, 陈志刚.基于信息熵的 IP 网端到端行为分析与建模[J]. 计算机工程与应用, 2004, 40(18): 15-18. DOI: 10.3321/j.issn:1002-8331.2004.18.006

      ZHANG L M, CHEN Z G.Analysis and modeling of End-to-End behavior based on information entropy in IP network[J]. Computer Engineering and Applications, 2004, 40(18): 15-18.DOI: 10.3321/j.issn:1002-8331.2004.18.006

    • 29

      CUI X, LIU Q, GAO M, et al. Abnormal detection using interaction energy potentials[C]// IEEE Conference on Computer Vision and Pattern Recognition (CVPR). Colorado Springs: IEEE, 2011: 3161-3167. DOI: 10.1109/CVPR.2011.5995558

    • 30

      FERRYMAN J, SHAHROKNI A. Pets2009: Dataset and challenge[C]//2009 Twelfth IEEE International Workshop on Performance Evaluation of Tracking and Surveillance. Snowbird: IEEE, 2009: 1-6. DOI: 10.1109/PETS-WINTER.2009.5399556

    • 31

      高鹏辉, 赵武峰, 沈继忠. 结合背景差分与光流法的人群状态突变检测[J]. 浙江大学学报 (工学版), 2018, 52(4): 649-656. DOI:10.3785/j.issn.1008-973X.2018.04.006

      GAO P H, ZHAO W F, SHEN J Z. Detection of crowd state mutation based on background difference algorithm and optical flow algorithm [J]. Journal of Zhejiang University(Engineering Edition), 2018, 52(4): 649-656. DOI:10.3785/j.issn.1008-973X.2018.04.006

    • 32

      杨世淼.基于Web Server 和 Android 平台的智能幼儿园管理系统[D]. 杭州:浙江大学, 2016.

      YANG S M.Intelligent Management System for Kindergarten Based on the Web Server and Android[D]. Hangzhou: Zhejiang University, 2016.

    • 33

      FAWCETT T.An introduction to ROC analysis[J]. Pattern Recognition Letters, 2006, 27(8): 861-874.DOI:10.1016/j.patrec.2005.10.010