1基于Opencv的图像纹理特征提取摘要:OpenCV是一个基于开源发行的跨领域计算机视觉库,能使用在Linux、Windows、Android和MacOS众多系统上。它轻量级而且高效,可以搭建在如今常用的开发工具上,如visualstudio等。它的指令由众多C函数与少部分C++类组成,此外具有Python、Ruby等众多接口,完成图像处理与计算机视觉部分的通用算法。此次设计主要选择opencv进行图像纹理特征选取。纹理是物体表层的重要部分,可以大致分辨出物体特点,所以被普遍使用在图像研究中。纹理研究主要通过相关处理科技从图像内选择关键的表层灰度信息,且对纹理特点开展研术。此类纹理特征提取以及基于此信息进行的图像划分是此研究领域内的主要分析内容。基于上述现实问题,本文重点分析相关提取方式,且根据纹理特征以及模式分辨中普遍使用的分类算法完成分类任务。本论文首先介绍此次研究的背景以及意义,然后介绍opencv的发展和现状以及一些简单用法。然后介绍有关图像处理的知识,以及一些基本的纹理提取方法,进而运用opencv调用函数进行图像的纹理特征的提取。本文选取三种普遍的提取方式来开展叙述,主要是Tamura纹理分析法和滤波器等方式。之后主要使用灰度共生矩阵算法来实现计算,再给出它的具体实现过程同时并且实验的的结果。关键词:opencv纹理特征特征提取图像处理2ImageTextureFeatureExtractionBasedOnOpencv.Abstract:OpenCVisacross-platformcomputervisionlibrarybasedonopensourcedistributionthatrunsonLinux,Windows,Android,andMacOS.Itislightweightandefficientandcanbebuiltoncommonlyuseddevelopmenttoolssuchasvisualstudio.ItsinstructionsarecomposedofaseriesofCfunctionsandasmallnumberofC++classes,whileprovidinginterfacesforlanguagessuchasPython,RubyandMATLAB,whichrealizemanycommonalgorithmsforimageprocessingandcomputervision.Thisgraduationdesignselectsopencvtorealizeimagetexturefeatureextraction.Asabasicpropertyofthesurfaceofanobject,textureiswidelyusedinimageanalysisbecauseitcanrepresentimageswell.TextureanalysisUSESimageprocessingtechnologytoextractimportantsurfacegrayscaleinformationfromimagesandtoanalyzetexturefeatures.Imagetexturefeatureextractionandtexturebasedimageclassificationaretwoimportantresearchtopicsintextureanalysis.Aimingatthesetwoproblems,thispaperstudiesavarietyoftexturefeatureextractionmethods,andcombinestexturefeatureandpatternrecognitiontorealizeimageclassification.Thispaperfirstintroducesthebackgroundandsignificanceofthisresearch,thenintroducesthedevelopmentandcurrentsituationofopencvandsomesimpleusages.Thenintroduceknowledgeaboutimageprocessing,thenthecolorofimagetextureisextractedthroughopencvvariables,selectedthreekindsofcommonlyusedtexturefeatureextractionmethodtostudytheimplementation,includinggraylevelco-occurrencematrix,Tamuraanalysisandfilter.Inthispaper,thealgorithmsofthreemethodsareintroducedindetail,andtheconcreterealizationprocessisgivenandtheresultsofexperimentsaregiven.Keywords:OpencvTextureFeatureFeatureExtractionTheImageProcessing目录..............................................................................................................................................53........................................................................................................................5........................................................................................................................7...........................................................................................................7...................................................................................................................................