摘要
由于计算机视觉的发展,以及终端计算机性能的飞速提高。作为强化视频监控系统应用的一门主要技术——视频智能分析技术,近几年一直得到业界的广泛的关注。一些国内外专业的视频分析研究厂家都相继推出了各种不同形态的产品,如智能视频服务器、智能网络摄像机、智能分析硬盘录像机、智能视频分析软件等。
视频分析中一个重要的方面就是视频文件的分析。通过各种图形算法检测视频中物体是否处于运动状态,而决定时候快进。这里的运动检测算法是系统性能的关键。该系统将可以极大的节约公安等监控部门后期观看录像查证的时间,提高工作效率。
本文首先介绍了智能视频检测系统的功能,界面布局。详细介绍了对于视频文件解码库的封装方式。并且介绍了运动检测的算法原理和实现。程序的界面部分由C/C++编写,运行的环境是windows系统,并且使用了MFC框架。
关键词: 智能视频分析,运动检测,高斯模型,MFC
ABSTRACT
The rapid development of the computer vision, the power of terminal device has been increased so much. In recent years the video intelligence analysis technology has been concerned to strengthen the monitoring system. Some domestic and international professional video analysis study will be factories were subsequently released different forms of products, such as wisdom and intelligence network server video camera, and intelligence analysis of DVR, intelligent video analysis software, etc.
The video files analysis is a very important aspect of video analysis technology. A lot of algorithms are using to detect whether the video is movement or not. And depend on it the decide whether to play faster or normal. Here the efficiency is the most importance issue to the system performance. This system will be used to save the public security department for later monitoring videos verified the time and improve efficiency.
This paper introduces the first video detection system of the interface. A detailed layout introduced for video files decoding the encapsulation of the way, and introduces motion detection algorithms principles and procedures for the interface. This program was written with C and C++. And run in windows operation. And it also used the MFC framework.
Keywords: Intelligent Video Analytics, Motion Detection, Gaussian Model, MFC
目 录
摘要 I
ABSTRACT II
目 录 III
第1章 引言 1
1.1 背景 1
1.2 研究内容 2
第2章 开发环境以及使用的技术 3
2.1 开发环境 3
2.2 微软基础类库 3
2.3动态链接库 4
第3章 系统功能设计 5
3.1 主要功能和作用 5
3.2 界面设计 5
3.3 视频解码库 6
3.4 封装解码库 7
第4章 功能实现 8
4.1 文件播放类 8
4.2 界面功能实现 10
4.2.1 功能按钮 10
4.2.2 播放进度条 11
4.2.3 播放信息显示 12
4.2.4 文件拖拽 13
4.2.5 文件解析进度条 14
4.2.6 全屏播放 15
第5章 运动检测算法 18
5.1 各种背景提取算法比较 18
5.1.1 背景差法 18
5.1.2 帧间差法 19
5.1.3 背景模型法 20
5.1.4 算法总结 20
5.2 连通区域标记 21
5.2.1 图像二值化 21
5.2.2 游程连通标记 22
第6章 图像检测算法的实现 24
6.1 图像检测动态链接库 24
6.2 导出函数设计 24
6.3 实际效果测试 26
第7章 结束语 29
7.1 总结 29
7.2 前景展望 29
致谢 30
参考文献 31