您好,欢迎访问三七文档
当前位置:首页 > 机械/制造/汽车 > 汽车理论 > 基于图像识别的管材计数系统方案研究
四川大学本科毕业设计基于图像识别的管材计数系统方案研究四川大学本科毕业设计基于图像识别的管材计数系统方案研究基于图像识别的管材计数系统方案研究专业:测控技术与仪器专业摘要:目前国内对于管材的计数主要采用人工计数的方法,为减轻人工劳动强度和提高管材计数精度,论文基于图像识别对管材的计数系统进行了研究,通过识别管材的截面特征实现管材计数。软件部分主要包括图像的预处理、图像分割和目标计数部分。具体的研究内容包括:若管材截面图像内容较多,先截取对于图像中感兴趣的区域,再经过格式转换、图像增强、去噪等预处理得到边缘平滑的灰度图像,采用大津法自动获取阈值,将目标圆或椭圆与背景分离出来,由于管材之间存在一定空隙,可采用数学形态学中的闭运算以消除部分噪声和狭小间隙,之后通过对目标圆或椭圆的边缘进行计数,因为可能存在较大噪声在闭运算过程中并未消除,因此可通过设置边缘的最小外接圆的面积和边缘本身的面积的比率进行条件限制,以去除部分噪声。若结果存在明显误差,可通过人工修改计数结果以提高精度,系统可保存计数结果和源图像以供日后查证;最后设计软件实现管材计数系统。关键词:图像识别,管材,计数,图像分割四川大学本科毕业设计基于图像识别的管材计数系统方案研究PipeCountingSystemSchemeStudiesBasedonImageRecognitionMajor:MeasureandControlTechnologyandInstrumentAbstract:InChina,themethodforpipescountingmainlyusedmanualcounting.Toalleviatethelaborintensityandimprovetheaccuracy,thepapermakesaresearchonpipescountingbasedonimagerecognition.Thesystemcountspipesthroughrecognisingthefeatureofthepipescross-section.Thesoftwarepartmainlyincludetheimagepreprocessing,theimagesegmentationandpipescounting.Andthepapermainlyincludesthefollowingcontent:Ifthepipecross-sectionimageincludetoomuchcontent,clippingtheregionofinterestintheimage.Thenpreprocesstheimage,includingconvertingtheimageformat,theimageenhancement,removingnoiseandsoon,andthentherewillbeagrayscaleimagewithsmoothedges.Next,useOtsumethodtoobtainthresholdautomatically,andgettheimageisolatedtargetcircleorellipseandbackground.Sincetherearesomegapsbetweenthepipes,useclosedoperationofmorphologymathematicaltoremovepartofthenoiseandsmallgaps.Thencounttheedgeofthecircleorellipse.Becausetheremaybesomelargeareanoisethathasnotbeeneliminatedintheprocessofclosedoperation,settheratiooftheareaoftheminimumcircumscribedcircletotheedgeanditsareatoremovepartofnoise.Iftheresulthasobviouserrors,itcanbemanuallymodifiedinordertoimprovetheaccuracy.Thesourceimageandtheresultcanbesavedforverificationinthefuture.Finallydesignsoftwaretocompletethepipescountingsystem.Keywords:Imagerecognition;Pipes;Counting;Imagesegmentation四川大学本科毕业设计基于图像识别的管材计数系统方案研究目录第一章绪论.................................................................................................................................................11.1研究目的........................................................................................................................................11.2选题背景及意义........................................................................................................................11.2.1选题背景.................................................................................................................................11.2.2选题意义.................................................................................................................................11.3国内外研究现状........................................................................................................................21.3.1国外研究现状........................................................................................................................21.3.2国内研究现状........................................................................................................................21.4主要研究内容..............................................................................................................................3第二章图像处理相关技术.................................................................................................................42.1图像预处理...................................................................................................................................42.1.1灰度转换.................................................................................................................................42.1.2图像滤波.................................................................................................................................52.2图像分割........................................................................................................................................92.2.1阈值分割法...........................................................................................................................102.2.2基于边缘的分割方法.........................................................................................................112.2.3基于特定理论工具的分割方法......................................................................................12第三章方案设计.....................................................................................................................................153.1简单背景图片的处理............................................................................................................153.1.1灰度处理...............................................................................................................................163.1.2滤波处理...............................................................................................................................163.1.3图像分割...............................................................................................................................173.1.4消除噪声........................................................................
本文标题:基于图像识别的管材计数系统方案研究
链接地址:https://www.777doc.com/doc-2536267 .html