资源描述:
《基于visual c++的边缘检测》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、基于VisualC++的边缘检测分析与实现摘要随着计算机技术的发展,数字图像处理与分析技术在科学研究、工业生产、医疗卫生、教育、娱乐、管理和通信等方面得到了广泛的应用。边缘检测是图像处理与分析中基础也是最重要的内容之一,一直是图像处理领域的研究热点。同时,边缘检测是图像理解和图像识别的基础,能否提供一个好的边缘检测算法直接影响后期研究效果。数字图像的边缘检测是图像分割、目标区域识别、区域形状提取等图像分析领域十分重要的基础,其目的是精确定位边缘,同时较好地抑制噪声,因此边缘检测是机器视觉系统中必不可少的重要环节。然而,由于实际图像中的边缘是多种边缘类型的组合,再加上外
2、界环境噪声的干扰,边缘检测又是数字图像处理中的一个难题。本文通过分析边缘检测算法的数学原理及检测效果,确定各个边缘检测算法在实际研究中的适用性,算法包括:Roberts边缘检测算法、Prewitt边缘检测算法、Sobel边缘检测算法、LoG边缘检测算法、Canny边缘检测算法对图像的处理以及Canny算法在视频图像边缘检测中的应用。然后通过VisualC++的MFC框架结构编写出能够快捷提取图像边缘的可执行文件,同时运用OpenCV完成对数字视频边缘检测的功能。关键词:图像处理边缘检测算法结果分析IIAbstractWith the development of co
3、mputertechnology,Digitalimage processingandanalysistechnology hasbeenwidelyused in scientific research,industrialproduction, healthcare,education,entertainment,management andcommunication,etc.Edgedetectionisthemostbasicandimportantpartinimageprocessingandanalysis.Atthesametime,itistheba
4、sisfortheimageunderstandingandrecognitionwhethercanprovideanappropriateedgedetectionalgorithmdirectlyaffectsthepost-researchresults.Theedgedetectionofdigitalimageisveryimportantfoundationofimagesegmentation, identificationof the targetarea,the regional shape extractionorotherfiledofimag
5、eanalysis.Itspurposeis the precisepositioningof theedge, and better noisesuppression, edgedetection is theessentialpart in the machinevision system.However,dueto theedgeof the actualimage is a combination of avariety of edge types,coupledwith the interference of the outsideambientnoise,
6、edgedetection is aproblem in digitalimageprocessing.By the analysisof mathematicalprinciples andtesting effects of theedgedetectionalgorithm todetermine the applicability of thevariousedgedetectionalgorithm in the actual study,thealgorithms include:Robertsedgedetectionalgorithm,Prewitte
7、dgedetectionalgorithm,Sobeledgedetectionalgorithm, LoGedgedetectionalgorithmandCannyedgedetectionalgorithmfor the imageprocessingandCannyalgorithmusedin the videoimage edgedetection.ThenthroughtheMFCframework structureofVisualC++,wecangettheexecutablefilethatextractedgeconvenie