1基于背景差分的运动检测软件的设计摘要:科学与技术日益发展,现代社会中许多技术也越来越成熟。视频监控也是现代社会广泛应用的一项技术,不仅十分便利了人们的生活,而且也非常高效,在很多领域都有很大的用处,尤其在安保防盗,以及最近几年新兴的机器人领域中有关机器人避障,还有人脸识别这项生物技术。在这些领域中,视频监控都发挥了很大的作用,然而,在现实生活中传统的监控早已经被各种各样的方法所应对,不能发挥其本来的作用。这使得智能监控这项技术在我国不断的发展。本篇论文所研究的主要就是其中关键技术之一,也就是运动目标识别。听起来很复杂,其实就是从视频图像中能够检测出需要的运动目标,利用工具像计算机这种来绘制出该运动目标的运动路线,不仅如此,还要能够简单地判断出它的运动情况。背景差分法是笔者进行本文研究的基础。这种方法主要就在于对比通过背景图像和当前帧图像的灰度比较来提取前景目标,更新背景模型。这项操作完成之后,还要对已经差分过的图像进行处理,这样所得出来的运动目标就能够相对精确很多,然后从方框图中找到中心点,当然是运动目标的中心,通过这个的变化,再判断出该目标的总体运动情况。关键词:运动检测;背景差分;灰度;运动情况2DesignofMotionDetectionSoftwareBasedonBackgroundDifferenceAbstract:Withthedevelopmentofscienceandtechnology,manytechnologiesinmodernsocietyarebecomingmoreandmoremature.Videosurveillanceisalsoatechnologywidelyusedinmodernsociety.Itisnotonlyveryconvenientforpeople'slife,butalsoveryefficient.Ithasgreatuseinmanyfields,especiallyinsecurityandanti-theft,aswellastherobotobstacleavoidanceintheemergingrobotfieldinrecentyears,andthebiologicaltechnologyoffacerecognition.Intheseareas,videosurveillancehasplayedagreatrole,however,inreallife,thetraditionalmonitoringhasbeenavarietyofmethodstodealwith,cannotplayitsoriginalrole.Thismakestheintelligentmonitoringtechnologycontinuetodevelopinourcountry.Thispapermainlystudiesoneofthekeytechnologies,whichismovingtargetrecognition.Itsoundsverycomplicated.Infact,itisabletodetecttherequiredmovingobjectfromthevideoimage,anddrawthemovingrouteofthemovingobjectbyusingtoolssuchascomputer.Notonlythat,butalsoitisabletosimplyjudgeitsmovement.Backgrounddifferencemethodisthebasisofthispaper.Themainpurposeofthismethodistoextracttheforegroundobjectandupdatethebackgroundmodelbycomparingthegraylevelsofthebackgroundimageandthecurrentframeimage.Afterthecompletionofthisoperation,itisnecessarytoprocesstheimagethathasbeendifferentiated,sothattheobtainedmovingtargetcanbemuchmoreaccurate,andthenfindthecenterpointfromtheblockdiagram,whichisofcoursethecenterofthemovingtarget.Throughthischange,wecanjudgetheoverallmovementofthetarget.Keywords:motiondetection;Backgrounddifference;graylevel;JudgmentofSportsSituation31目录1绪论.............................................................11.1选题的背景与意义.............................................11.2研究现状、主流方法与拟解决主要问题...........................21.2.1研究现状................................................21.2.2主流方法................................................41.2.3拟解决的主要问题........................................52图像的预处理......................................................62.1图像的转换...................................................62.2图像的二值化处理.............................................72.3图像的平滑滤波...............................................83运动目标检测.....................................................103.1背景差分的使用缘由.................................