绥化学院本科毕业设计移动图像监控系统学生姓名:赵江龙学号:200951591专业:电子信息工程年级:2009级一班指导教师:苏宝林讲师SuihuaUniversityGraduationPaperMobleVideoMonitoringSystemStudentnameZhaoJianglongStudentnumber200951591MajorElectronicandInformationEngineeringSupervisingteacherSuBaolinSuihuaUniversityI摘要运动目标检测与跟踪技术已广泛应用于智能监控中,在商业街监控、小区安全保障、法律取证、军事保密等方面有着极大的需求。目前在机场、超市、道路、银行等公共场所监控摄像机的使用已经非常普遍,但实际的监控任务仍需要人来完成。这无疑失去了智能监控系统本身具有的主动性和实时性的优势。移动图像监控系统的研究目的就是为了实现无人值守的实时监控,自动分析摄像机捕捉到的图像数据,当发现异常时主动记录实时信息并及时报警。它主要是通过给嵌入式设备移植uboot,移植linux内核,制作nfs根文件系统等,并搭建一个能够正常运行的嵌入式系统,然后移植linux平台下摄像头软件motion来实现移动图像监控的最终目标。移动图像监控的实现运用了背景减除法,该算法是实现移动式监控技术的最常用的算法,也是最普遍的算法。用当前帧的灰度值跟背景帧的灰度值进行相减,灰度值差大于32位的区域将被标记为运动区域,当有500位以上像素时将被判定为捕捉到运动的物体。通过设计阐述了嵌入式系统工作的相关原理和运动图像检测的实现算法,得出了一套完整的移动图像监控系统。关键词:移动图像监控;嵌入式系统;uboot;linuxIIIIAbstractMovingtargetdetectionandtrackingtechnologyhasbeenwidelyusedinintelligentmonitoring,monitoringinthemall,residentialsecurity,legalevidence,militarysecrecyhasagreatdemand.Althoughtheuseofsurveillancecamerasinpublicplacessuchasairports,supermarkets,roads,bankshavebeenverycommon,buttheactualmonitoringtasksstillneedtocomplete.Thisisundoubtedlylostintelligentmonitoringsystemshouldbeinthisinitiative,andreal-timeadvantage.MobileVideoMonitoringSystemresearchgoalistoachievereal-timemonitoringofunattended,automaticanalysisofthevideocameratocapturetheimagedatawhentheabnormalityisactiverecordingreal-timeinformationandtimelywarning.AnormaloperationofembeddedsystemsmainlytoembeddeddevicestransplantationuboottransplantLinuxkernel,makingnfsrootfilesystemstructures,andthentransplantthemotionofthecamerasoftwarelinuxplatformtoachievetheultimategoalofmovingimagemonitoring.Monitoringimplementationofthemovingimageistheuseofabackgroundsubtractionmethod,thealgorithmisthemostcommonlyusedalgorithmformobilemonitoringtechnology,isalsothemostcommoninthefutureapplicationofthealgorithm.Thegrayvaluesofthecurrentframewiththegrayvalueofthebackgroundframeissubtracted,thegradationvalueofthedifferential32bitregionwillbemarkedasamotionarea,whenthereisabitmorethan500pixelswillbejudgedastocapturethemovementobjects.Describestheoperatingprincipleoftheembeddedsystembydesignofthealgorithmimplementedinthemovingimagedetectionobtainedasetofnormalworkingofthemovingimagemonitoringsystem.Keywords:motion;detectionembeddedimage;uboot;linux目录摘要.......................................................................................................................................IAbstract....................................................................................................................................II第1章绪论............................................................................................................................1第1节课题背景................................................................................................................1第2节视频监控系统简介................................................................................................1第3节嵌入式系统特点....................................................................................................2第2章基于S3C2440的硬件开发平台...............................................................................3第1节ARM体系结构介绍..............................................................................................3第2节嵌入式系统的选型................................................................................................4第3章基于Linux的软件开发平台.....................................................................................6第1节Linux操作系统......................................................................................................6第2节运动检测系统构架图............................................................................................7第3节Bootloader的移植..................................................................................................7第4章移动图像检测的实现................................................................................................9第1节Mini2440的开发平台...........................................................................................9第2节摄像头..................................................................................................................10第3节运动图像检测算法的选择..................................................................................11第4节背景减除法检测运动目标算法的研究..............................................................12结论....................................................................................................................................14参考文献................................................................................................................................15附录1.....................................................................................................................................16致谢....................................................................................................................................20绥化学院2013届本科生毕业设计1第1章绪论第1节课题背景随着半导体科学的发展,信息技术,数字化产品的普及,嵌入式系统被广泛应用于各个领域。目前,嵌入式系统被应用到计算机网络、手持通信设备、军事安防以及自动控制等各个领域。嵌入式系统的定义是:以应用为中心,以计算机技术为基础,软硬件可裁剪,适应系统对功能、可靠性、成本、体积、功