
第39卷第1期 2016年3月
海船舶运输科学研究所学主
报
上
JOURNAL OF SHANGHAI SHIP AND SHIPPING RESEARCH INSTITUTE
文章编号:1674-5949(2016)01-069-04
基于交通视频的背景建模方法
孙仕柏,张勇
(中海网络科技股份有限公司,上海200135)
Vol,39 No.1 Mar.2016
摘要:针对交通视频监控存在树影等动态背景的问题,提出一种基于像素的双层背景构建模型来消除动态背景的干扰。首先,统计连续的图像慎,并对其进行形态学预处理;其次,根据对应图像的每个像素位置构造各自的灰度直方图;随后,通过计算得到直方图的峰值并据此将直方图分为两部分,根据该划分结果构造该像索的双层背景模型;最后,根据构建的双层背景模型实现目标前景的检测。试验结果表明;运用该方法能构建较好的背景模型,
目标检测效果较好,可有效去除动态背景的干扰。关键调:交通视频;动态背景;双层背景;直方图
文献标志码:A
中图分类号:U491.1+16;TP391.41
ResearchonBackgroundModelingofTrafficVideoImage
SUNShibai,ZHANGYong
(China Shipping Network Technology Co.,Ltd.,Shanghai 200135,China)
Abstract; A two-layer background model is proposed to eliminate the influence of the dynamic background, such as shadow of trees, on the target detection from traffic survellance video images, For doing so, the successive image frames are collected and processed with morphology processing first, Then, the histograms representing the pixel gray level variation at each point of the image frame are constructed. The peak values of the histograms are found, and the histograms are divided into two groups according to the peak values, The discrimination of the histograms leads to a two-layer background model for detecting targets. The experimental results show that the background model built with the method can effectively eliminate the interference of the dynamic background and improve the target detection.
Key words; traffic video; dynamic background; two-layer background; histogram 0引言
随着计算机技术不断发展,智能交通已广泛应用于交通监控领域中。通过视频监控可有效掌握视频道路状况;同时,通过智能分析可有效降低交通隐患。
背录构建对于视频监控而言至关重要。构造好的背景模型并确保背景提取的实时性,是后续分析正常进行的保证。常见的背景构造模型主要有统计模型和结构模型。
1)统计背景模型源于图像序列像索亮度在时间上的统计特性。混合高斯模型[1-3通过统计像素亮度的变化情况描述多个背景模式,存在计算复杂度较高、突变光照敏感等间题。统计中值法["虽然能解决平均值法可能带来的图像细节模糊的间题,但在车间距小、行驶速度低等情况下,车身容易被误以为是背景。图像平均法[4结构简单、计算速度快、容易实现,缺点是适用场景局限性大。统计直方图方法[5]对场景自适应能力较好,但是计算较为复杂,且在复杂场景下容易导致背景建模失真。CHANG等["给出带有状态标签的滑
收稿日期:2015-10-16
作者简介:孙仕柏(1990一),男,山东日照人,助理工程师,主要从事智能交通中算法的研究。万方数据