您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 项目/工程管理 > 基于Visual-C++的边缘检测
I基于VisualC++的边缘检测分析与实现摘要随着计算机技术的发展,数字图像处理与分析技术在科学研究、工业生产、医疗卫生、教育、娱乐、管理和通信等方面得到了广泛的应用。边缘检测是图像处理与分析中基础也是最重要的内容之一,一直是图像处理领域的研究热点。同时,边缘检测是图像理解和图像识别的基础,能否提供一个好的边缘检测算法直接影响后期研究效果。数字图像的边缘检测是图像分割、目标区域识别、区域形状提取等图像分析领域十分重要的基础,其目的是精确定位边缘,同时较好地抑制噪声,因此边缘检测是机器视觉系统中必不可少的重要环节。然而,由于实际图像中的边缘是多种边缘类型的组合,再加上外界环境噪声的干扰,边缘检测又是数字图像处理中的一个难题。本文通过分析边缘检测算法的数学原理及检测效果,确定各个边缘检测算法在实际研究中的适用性,算法包括:Roberts边缘检测算法、Prewitt边缘检测算法、Sobel边缘检测算法、LoG边缘检测算法、Canny边缘检测算法对图像的处理以及Canny算法在视频图像边缘检测中的应用。然后通过VisualC++的MFC框架结构编写出能够快捷提取图像边缘的可执行文件,同时运用OpenCV完成对数字视频边缘检测的功能。关键词:图像处理边缘检测算法结果分析IIAbstractWiththedevelopmentofcomputertechnology,Digitalimageprocessingandanalysistechnologyhasbeenwidelyusedinscientificresearch,industrialproduction,healthcare,education,entertainment,managementandcommunication,etc.Edgedetectionisthemostbasicandimportantpartinimageprocessingandanalysis.Atthesametime,itisthebasisfortheimageunderstandingandrecognitionwhethercanprovideanappropriateedgedetectionalgorithmdirectlyaffectsthepost-researchresults.Theedgedetectionofdigitalimageisveryimportantfoundationofimagesegmentation,identificationofthetargetarea,theregionalshapeextractionorotherfiledofimageanalysis.Itspurposeistheprecisepositioningoftheedge,andbetternoisesuppression,edgedetectionistheessentialpartinthemachinevisionsystem.However,duetotheedgeoftheactualimageisacombinationofavarietyofedgetypes,coupledwiththeinterferenceoftheoutsideambientnoise,edgedetectionisaproblemindigitalimageprocessing.Bytheanalysisofmathematicalprinciplesandtestingeffectsoftheedgedetectionalgorithmtodeterminetheapplicabilityofthevariousedgedetectionalgorithmintheactualstudy,thealgorithmsinclude:Robertsedgedetectionalgorithm,Prewittedgedetectionalgorithm,Sobeledgedetectionalgorithm,LoGedgedetectionalgorithmandCannyedgedetectionalgorithmfortheimageprocessingandCannyalgorithmusedinthevideoimageedgedetection.ThenthroughtheMFCframeworkstructureofVisualC++,wecangettheexecutablefilethatextractedgeconveniently,atthesametimewecancompletethefunctionofedgedetectionindigitalvideobyOpenCV.Keywords:imageprocessing,edgedetection,algorithm,resultanalysis基于VisualC++的边缘检测分析与实现目录摘要.................................................................................................................................IAbstract..........................................................................................................................II第一章数字图像的边缘检测原理..............................................................................21.1数字图像处理................................................................................................21.2边缘检测........................................................................................................21.3边缘与导数....................................................................................................31.4边缘检测的数学基础....................................................................................4第二章经典边缘检测方法分析..................................................................................62.1传统边缘检测算法........................................................................................62.1.1Roberts边缘检测算法.........................................................................62.1.2Prewitt边缘检测算法..........................................................................72.1.3Sobel边缘检测算法.............................................................................72.1.4LoG边缘检测算法...............................................................................82.1.5Canny边缘检测算法............................................................................92.2传统的边缘检测算法分析...........................................................................12第三章基于MFC的图像边缘检测编程实现..........................................................133.1编程环境......................................................................................................133.2边缘检测的实现..........................................................................................143.2.1图像处理程序类的创建...................................................................143.2.2边缘检测算法的实现流程...............................................................153.3边缘检测结果分析......................................................................................16第四章基于OpenCV的视频边缘检测编程实现....................................................184.1OpenCV基础.................................................................................................184.2视频边缘检测的实现..................................................................................184.3视频边缘检测结果分析..............................................................................20第五章结论................................................................................................................21致谢................................................................................................错误!未定义书签。参考文献........................................................................................错误!未定义书签。附录................................................................................................错误!未定义书签。1Matla
本文标题:基于Visual-C++的边缘检测
链接地址:https://www.777doc.com/doc-2535278 .html