首页 | 本学科首页   官方微博 | 高级检索  
     

基于最近邻域像素梯度的视频背景快速提取
引用本文:赵树言,路艳雪,韩晓霞.基于最近邻域像素梯度的视频背景快速提取[J].计算机应用,2016,36(8):2322-2326.
作者姓名:赵树言  路艳雪  韩晓霞
作者单位:太原理工大学 信息工程学院, 太原 030024
基金项目:大学生创意百家基金资助项目(2014A0006)。
摘    要:针对嵌入式设备对视频背景的实时提取问题,提出一种基于最近邻域像素梯度(N2PG)稳定性的视频背景快速提取方法。首先,以视频中任意帧作为初始背景,并计算此背景图像的N2PG矩阵;然后,以背景帧之后若干帧图像作为背景更新图像,同理计算N2PG矩阵;最后,将背景图像N2PG矩阵与更新图像N2PG矩阵进行差分,并通过实时估计的梯度稳定性阈值快速判断背景模型中各像素点是静态背景像素点还是非背景像素点,进而对其更新或替换,以得到视频当前背景。经计算机仿真测试,与常用的卡尔曼滤波法和混合高斯法相比,基于N2PG的视频背景提取方法得到相同质量背景仅需10~50帧图像,并且平均处理速度分别提高36%和75%;和改进的视觉背景提取(ViBe)算法相比,在所需帧数和所得背景质量相近的情况下,该算法背景更新速度提升一倍。实验结果表明,基于N2PG的视频背景提取算法具有很强的自适应性,并且速度快、内存消耗小,背景提取准确度达到90%以上,可满足真实自然环境下嵌入式视觉设备的应用。

关 键 词:快速背景提取  邻域像素梯度  视频背景  嵌入式系统  机器视觉  
收稿时间:2016-01-13
修稿时间:2016-03-07

Rapid video background extraction algorithm based on nearest neighbor pixel gradient
ZHAO Shuyan,LU Yanxue,HAN Xiaoxia.Rapid video background extraction algorithm based on nearest neighbor pixel gradient[J].journal of Computer Applications,2016,36(8):2322-2326.
Authors:ZHAO Shuyan  LU Yanxue  HAN Xiaoxia
Affiliation:College of Information Engineering, Taiyuan University of Technology, Taiyuan Shanxi 030024, China
Abstract:For the instantaneity of video background extraction in embedded visual systems, a rapid algorithm based on the Nearest Neighbor Pixel Gradient (N2PG) stability was proposed. Firstly, background initialization was conducted with one single frame, and the N2PG matrix of this frame was calculated. Secondly, several frames of the subsequent video were operated as reference image for background update, and the N2PG matrix of those frames were calculated in the same way. Then, it was judged rapidly that each pixel of the background model was static or nonstatic by calculating the subtraction between the N2PG matrix of the background image and the N2PG matrix of the reference image, referencing the threshold value of gradient stability estimated in real-time. Finally, the current background was obtained by updating or replacing each background pixel. In the simulation tests, compared with Kalman filtering method and Gaussian mixture model, only 10 to 50 frames were needed to get background in the algorithm based on N2PG, and the average speed of processing frames was increased by 36% and 75% respectively; compared to the modified Visual Background Extractor (ViBe) algorithm, the speed of updating background by using N2PG algorithm was doubled with the same required number of the video frames and the similar background quality. Experimental results show that the proposed algorithm has the advantages of strong adaptability, high speed and small storage, and the background extraction accuracy is also above 90%, it can satisfy the application of real-time embedded visual systems in natural environment.
Keywords:rapid background extraction                                                                                                                        neighbor pixel gradient                                                                                                                        video background                                                                                                                        embedded system                                                                                                                        machine vision
点击此处可从《计算机应用》浏览原始摘要信息
点击此处可从《计算机应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号