登录
首页 » Others » MATLAB图像纹理特征提取代码

MATLAB图像纹理特征提取代码

于 2020-06-28 发布
0 227
下载积分: 1 下载次数: 6

代码说明:

用共生矩阵进行纹理特征提取**************************************************************************% 图像检索——纹理特征%基于共生矩阵纹理特征提取,d=1,θ=0°,45°,90°,135°共四个矩阵%所用图像灰度级均为256%参考《基于颜色空间和纹理特征的图像检索》%function : T=Texture(Image) %Image : 输入图像数据%T : 返回八维纹理特征行向量%******************************

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Geomagic Control X 2017基础教
    3D数据检测软件教学教程,可以帮助使用人员更加快速掌握软件使用基础教程本教程的目的是让你基础的了解在 Geomagic Control X的检查过程.通过程序的教程,你将学会Geomagic Control X的基本使用方法基本的检查过程在本次课程中,你将学到如何导入参考和测试数据并把它们对齐到一起.在检査数据的3D比较和添加比较点之后你将学会如何输出结果报告127GNi. 43503H22.32244614的Pe,料动什dP长359,系1阳A17atinsti检查GD&T在本次课程中,你将学会如何在模型上测量2D和3DGD&T(几何尺寸和公差PMI界面在本次课程中,你将学会如何通过使用PM面向导,导入其他CAD程序已定义PM的参考数据.并检查参考和测试数据之间的偏差.系统检查过程在本次课程中,你将学会如何打开一个含有GD&T测量的 Geomagic Control x项目文件除了现有的测量,你还将检查轮廓偏差,2DGD&T,和2D比较.伞2叫钣金检查过程在本次课程中,你将学会如何检査钣金数据.你将使用RPS对齐方法来对齐数据.多个2D比较命令将用来检查参考和测试数据0≠2aRLES0使用面片数据作为基准数据在本次课程中,你将学会如何使用面片对象作为参考数据,并在检査3DGD&T和面片对象的偏差Gd Dist0:1556D4t:0.141Gaa Dist=0.09b2Gs02590.1237Gap Distt Gap Dist,0:15034第一章.基本的检查过程概要本次练习包括什么?步骤介绍结果导入参考和测试数据使用初始对齐命令对齐数据2使用初始对齐工具对齐参考和测试数据添加3D比较特征3使用3D比较工具分析模型的整体偏差.添加2D比较特征4Ltr使用2D比较工具分析模型的断面偏差.添加比较点理三5分析模型上特定位置的偏差.日但生成报告6将分析结果生成报告■步骤1:导入参考和测试数据在步骤1中,将导入参考数据和测试数据并利用数据创建一个检测项目导入参考数据在模型管理器中选择其中一个结果数据标签把它设置成激活标签.2.在初始选项卡中,导入组下,点击导入或者选择菜单>文件>导入3.从下面的路径浏览这个文件 Reference Data. CXProj然后点击仅导入/Sample/Basic/Basic Inspection Process「导入文件4.一个CAD对象将在模型视图中显示并自动设置成参考数据.二、导入测试数据.在初始选项卡中,导入组下,点击导入或者选择菜单>文件>导入2.从下面的路径浏览这个文件 Measured Data. CXProj然后点击仅导入/Sample/ Basic/Basic Inspection Process「导入文件3.一个面片对象将在模型视图中显示并自动设置成测试数据.步骤2:使用初始对齐命令对齐数据在步骤2中,初始对齐工具将用于对齐测试数据和参考数据初始对齐工具可以智能的把测试数据移动到参考数据合适的位置上初始对齐1.在初始选项卡中对齐组下,点击初始对齐,或者选择菜单>插入>对齐>初始对齐侣亮显命令运行命令注释:此工具也可以从上下文菜单中访问.在模型视图中任意位置点击右键然后在上下文菜单中点击对齐工具.查看"上下文菜单"在 Geomagic Contro/X的帮助说明来获取更多信息d Frit Annotation styleselection modeL: All-FacesShift+AnItt: NSE nverseshiit-2.取消选择利用特征识别提高对齐精度选项.7 Initial Alignment√xEnhance Alignment Accuracy with Feature recognition注释:如果勾选利用特征识别提高对齐精度选项,程序将分析和比较参考和测试数据之间的特征形状然后移动测试数据到两个数据间的最小偏差处3.点击OKM4.检查测试数据是否已经对齐到参考数据上步骤3:添加3D比较特征在步骤3中,3D比较工具将用于计算和显示参考和测试数据之问的整体偏差、添加3D比较1.在初始选项卡中,比较组下,点击3D比较,或者选择菜单>插入>比较>3D比较亮显命令运行命令2.第一步,选择类型选项作为方法并选择贔短选项作为投影方冋.这种方法计算参考数据和测量数据之间的最小距离3 D Compare+√x7 Calculation OptionSampling Ratio% 7MethodO ShapeTHicknessProjection DirectionShortestO Along NormalCustomMax Deviation Auto ob More Options3.点击下一阶段进入下一步.测量数据将自动隐藏因此你可以清楚的看见色图注释:如果需要可以在模型管理器中点击参考数据后面的眼睛图标◎,使测量数据可见Model ManagerInsul bald回 Reference(o Feference DataReferenc是Eata电 Constructed GeometryMeasuredMeasured dataMeasured cata电 Cor structed Geometryv 99 AliyrinmenIlsa Initial AlignmentE Pairing Map3D Compare争3DGD&5f Cross Sectioned Probe Sequence回 Custom vievA Measurement4.检査预览.蓝色的区域表示测量数据在参考数据的下面或者后面,黄色到红色表示测量数据在参考数据的上面5.使用偏差标签下面的选择选项并在体上面选择若干点来査看特定位置的偏差值.每个点位置和偏差的注释将会显示Reference Pos. Measured PosGen vec.Check00008s000217024216829一0,18130113Reference Pos, Measured Pos, Gap vec:Cheel170,00o00000a85,00014.02301428210.24910,916.点击OK√完成命令二、隐藏3D比较在模型管理器中分析下点击3D比较后面的眼睛图标◎,使3D比较的结果在模型视图中不可见.步骤4:添加2D比较特征在步骤4中,2D比较工具将用于计算和显示参考和测试数据之间的断面偏差.你可以在模型上剪切一个平面断面来添加2D比较特征并测量参考和测试数据在断面上的缝隙一、添加2D比较1.在初始选项卡中,比较组下,点击2D比较或者选择菜单>插入>比较>2D比较亮显命令运行命令2.在第一阶段中,你将定义截面平面的位置和计算方法.选择偏移方法并选择一个平面作为基准平面PLane3.点击反转方向来反转切断面的方向4.在偏移距离的输入框中输入3mm来设置所选面的偏移距离.2 D Compare Q→√xv Set section planeO OffsetO RotationO Along CurveBase planeFace 4OffsetDistance[3m⑧D Multiple Cutting Planev Calculation OptionProjection DirectionShortest
    2020-11-28下载
    积分:1
  • 已知二维联合概率密度matlab求解
    已知二维联合概率密度matlab求解 二维联合概率密度 matlab 待定系数 边缘分布
    2020-12-04下载
    积分:1
  • Finite-Dimensional Vector Spaces - P. Halmos (Springer, 1987)
    在学习代数学之余,值得一看的代数学书籍。里面介绍了更为丰富的代数学概念和结论。PREFACEMy purpose in this book is to treat linear transformations on finite-dimensional vector spaces by the methods of more general theories. Theidea is to emphasize the simple geometric notions common to many partsof mathematics and its applications, and to do so in a language that givesaway the trade secrets and tells the student what is in the back of the mindsof people proving theorems about integral equations and Hilbert spaces.The reader does not, however, have to share my prejudiced motivationExcept for an occasional reference to undergraduate mathematics the bookis self-contained and may be read by anyone who is trying to get a feelingfor the linear problems usually discussed in courses on matrix theory orhigher"algebra. The algebraic, coordinate-free methods do not lose powerand elegance by specialization to a finite number of dimensions, and theyare, in my belief, as elementary as the classical coordinatized treatmentI originally intended this book to contain a theorem if and only if aninfinite-dimensional generalization of it already exists, The temptingeasiness of some essentially finite-dimensional notions and results washowever, irresistible, and in the final result my initial intentions are justbarely visible. They are most clearly seen in the emphasis, throughout, ongeneralizable methods instead of sharpest possible results. The reader maysometimes see some obvious way of shortening the proofs i give In suchcases the chances are that the infinite-dimensional analogue of the shorterproof is either much longer or else non-existent.A preliminary edition of the book (Annals of Mathematics Studies,Number 7, first published by the Princeton University Press in 1942)hasbeen circulating for several years. In addition to some minor changes instyle and in order, the difference between the preceding version and thisone is that the latter contains the following new material:(1) a brief dis-cussion of fields, and, in the treatment of vector spaces with inner productsspecial attention to the real case.(2)a definition of determinants ininvariant terms, via the theory of multilinear forms. 3 ExercisesThe exercises(well over three hundred of them) constitute the mostsignificant addition; I hope that they will be found useful by both studentPREFACEand teacher. There are two things about them the reader should knowFirst, if an exercise is neither imperative "prove that.., )nor interrogtive("is it true that...?" )but merely declarative, then it is intendedas a challenge. For such exercises the reader is asked to discover if theassertion is true or false, prove it if true and construct a counterexample iffalse, and, most important of all, discuss such alterations of hypothesis andconclusion as will make the true ones false and the false ones true. Secondthe exercises, whatever their grammatical form, are not always placed 8oas to make their very position a hint to their solution. Frequently exer-cises are stated as soon as the statement makes sense, quite a bit beforemachinery for a quick solution has been developed. A reader who tries(even unsuccessfully) to solve such a"misplaced"exercise is likely to ap-preciate and to understand the subsequent developments much better forhis attempt. Having in mind possible future editions of the book, I askthe reader to let me know about errors in the exercises, and to suggest im-provements and additions. (Needless to say, the same goes for the text.)None of the theorems and only very few of the exercises are my discovery;most of them are known to most working mathematicians, and have beenknown for a long time. Although i do not give a detailed list of my sources,I am nevertheless deeply aware of my indebtedness to the books and papersfrom which I learned and to the friends and strangers who, before andafter the publication of the first version, gave me much valuable encourage-ment and criticism. Iam particularly grateful to three men: J. L. Dooband arlen Brown, who read the entire manuscript of the first and thesecond version, respectively, and made many useful suggestions, andJohn von Neumann, who was one of the originators of the modern spiritand methods that I have tried to present and whose teaching was theinspiration for this bookP、R.HCONTENTS的 FAPTERPAGRI SPACESI. Fields, 1; 2. Vector spaces, 3; 3. Examples, 4;4. Comments, 55. Linear dependence, 7; 6. Linear combinations. 9: 7. Bases, 108. Dimension, 13; 9. Isomorphism, 14; 10. Subspaces, 16; 11. Calculus of subspaces, 17; 12. Dimension of a subspace, 18; 13. Dualspaces, 20; 14. Brackets, 21; 15. Dual bases, 23; 16. Reflexivity, 24;17. Annihilators, 26; 18. Direct sums, 28: 19. Dimension of a directsum, 30; 20. Dual of a direct sum, 31; 21. Qguotient spaces, 33;22. Dimension of a quotient space, 34; 23. Bilinear forms, 3524. Tensor products, 38; 25. Product bases, 40 26. Permutations41; 27. Cycles,44; 28. Parity, 46; 29. Multilinear forms, 4830. Alternating formB, 50; 31. Alternating forms of maximal degree,52II. TRANSFORMATIONS32. Linear transformations, 55; 33. Transformations as vectors, 5634. Products, 58; 35. Polynomials, 59 36. Inverses, 61; 37. Mat-rices, 64; 38. Matrices of transformations, 67; 39. Invariance,7l;40. Reducibility, 72 41. Projections, 73 42. Combinations of pro-jections, 74; 43. Projections and invariance, 76; 44. Adjoints, 78;45. Adjoints of projections, 80; 46. Change of basis, 82 47. Similarity, 84; 48. Quotient transformations, 87; 49. Range and null-space, 88; 50. Rank and nullity, 90; 51. Transformations of rankone, 92 52. Tensor products of transformations, 95; 53. Determinants, 98 54. Proper values, 102; 55. Multiplicity, 104; 56. Triangular form, 106; 57. Nilpotence, 109; 58. Jordan form. 112III ORTHOGONALITY11859. Inner products, 118; 60. Complex inner products, 120; 61. Innerproduct spaces, 121; 62 Orthogonality, 122; 63. Completeness, 124;64. Schwarz e inequality, 125; 65. Complete orthonormal sets, 127;CONTENTS66. Projection theorem, 129; 67. Linear functionals, 130; 68. P aren, gBCHAPTERtheses versus brackets, 13169. Natural isomorphisms, 138;70. Self-adjoint transformations, 135: 71. Polarization, 13872. Positive transformations, 139; 73. Isometries, 142; 74. Changeof orthonormal basis, 144; 75. Perpendicular projections, 14676. Combinations of perpendicular projections, 148; 77. Com-plexification, 150; 78. Characterization of spectra, 158; 79. Spec-ptral theorem, 155; 80. normal transformations, 159; 81. Orthogonaltransformations, 162; 82. Functions of transformations, 16583. Polar decomposition, 169; 84. Commutativity, 171; 85. Self-adjoint transformations of rank one, 172IV. ANALYSIS....17586. Convergence of vectors, 175; 87. Norm, 176; 88. Expressions forthe norm, 178; 89. bounds of a self-adjoint transformation, 17990. Minimax principle, 181; 91. Convergence of linear transformations, 182 92. Ergodic theorem, 184 98. Power series, 186APPENDIX. HILBERT SPACERECOMMENDED READING, 195INDEX OF TERMS, 197INDEX OF SYMBOLS, 200CHAPTER ISPACES§L. FieldsIn what follows we shall have occasion to use various classes of numbers(such as the class of all real numbers or the class of all complex numbers)Because we should not at this early stage commit ourselves to any specificclass, we shall adopt the dodge of referring to numbers as scalars. Thereader will not lose anything essential if he consistently interprets scalarsas real numbers or as complex numbers in the examples that we shallstudy both classes will occur. To be specific(and also in order to operateat the proper level of generality) we proceed to list all the general factsabout scalars that we shall need to assume(A)To every pair, a and B, of scalars there corresponds a scalar a+called the sum of a and B, in such a way that(1) addition is commutative,a+β=β+a,(2)addition is associative, a+(8+y)=(a+B)+y(3 there exists a unique scalar o(called zero)such that a+0= a forevery scalar a, and(4)to every scalar a there corresponds a unique scalar -a such that十(0(B)To every pair, a and B, of scalars there corresponds a scalar aBcalled the product of a and B, in such a way that(1)multiplication is commutative, aB pa(2)multiplication is associative, a(Br)=(aB)Y,( )there exists a unique non-zero scalar 1 (called one)such that al afor every scalar a, and(4)to every non-zero scalar a there corresponds a unique scalar a-1or-such that aaSPACES(C)Multiplication is distributive with respect to addition, a(a+n)If addition and multiplication are defined within some set of objectsscalars) so that the conditions(A),B), and (c)are satisfied, then thatset(together with the given operations) is called a field. Thus, for examplethe set Q of all rational numbers(with the ordinary definitions of sumand product)is a field, and the same is true of the set of all real numberaand the set e of all complex numbersHHXERCISIS1. Almost all the laws of elementary arithmetic are consequences of the axiomsdefining a field. Prove, in particular, that if 5 is field and if a, and y belongto 5. then the following relations hold80+a=ab )Ifa+B=a+r, then p=yca+(B-a)=B (Here B-a=B+(a)(d)a0=0 c=0.(For clarity or emphasis we sometimes use the dot to indi-cate multiplication.()(-a)(-p)(g).If aB=0, then either a=0 or B=0(or both).2.(a)Is the set of all positive integers a field? (In familiar systems, such as theintegers, we shall almost always use the ordinary operations of addition and multi-lication. On the rare occasions when we depart from this convention, we shallgive ample warningAs for "positive, "by that word we mean, here and elsewherein this book, "greater than or equal to zero If 0 is to be excluded, we shall say"strictly positive(b)What about the set of all integers?(c) Can the answers to these questiong be changed by re-defining addition ormultiplication (or both)?3. Let m be an integer, m2 2, and let Zm be the set of all positive integers lessthan m, zm=10, 1, .. m-1). If a and B are in Zmy let a +p be the leastpositive remainder obtained by dividing the(ordinary) sum of a and B by m, andproduct of a and B by m.(Example: if m= 12, then 3+11=2 and 3. 11=9)a) Prove that i is a field if and only if m is a prime.(b What is -1 in Z5?(c) What is囊izr?4. The example of Z, (where p is a prime)shows that not quite all the laws ofelementary arithmetic hold in fields; in Z2, for instance, 1 +1 =0. Prove thatif is a field, then either the result of repeatedly adding 1 to itself is always dif-ferent from 0, or else the first time that it is equal to0 occurs when the numberof summands is a prime. (The characteristic of the field s is defined to be 0 in thefirst case and the crucial prime in the second)SEC. 2VECTOR SPACES35. Let Q(v2)be the set of all real numbers of the form a+Bv2, wherea and B are rational.(a)Ie(√2) a field?(b )What if a and B are required to be integer?6.(a)Does the set of all polynomials with integer coefficients form a feld?(b)What if the coeficients are allowed to be real numbers?7: Let g be the set of all(ordered) pairs(a, b)of real numbers(a) If addition and multiplication are defined by(a月)+(,6)=(a+y,B+6)and(a,B)(Y,8)=(ary,B6),does s become a field?(b )If addition and multiplication are defined by(α,月)+⑦,b)=(a+%,B+6)daB)(,b)=(ay-6a6+的y),is g a field then?(c)What happens (in both the preceding cases)if we consider ordered pairs ofcomplex numbers instead?§2. Vector spaceWe come now to the basic concept of this book. For the definitionthat follows we assume that we are given a particular field s; the scalarsto be used are to be elements of gDEFINITION. A vector space is a set o of elements called vectors satisfyingthe following axiomsQ (A)To every pair, a and g, of vectors in u there corresponds vectora t y, called the aum of a and y, in such a way that(1)& ddition is commutative,x十y=y十a(2)addition is associative, t+(y+2)=(+y)+a(3)there exists in V a unique vector 0(called the origin) such thata t0=s for every vector and(4)to every vector r in U there corresponds a unique vector -rthat c+(-x)=o(B)To every pair, a and E, where a is a scalar and a is a vector in u,there corresponds a vector at in 0, called the product of a and a, in sucha way that(1)multiplication by scalars is associative, a(Bx)=aB)=, and(2 lz a s for every vector xSPACESSFC B(C)(1)Multiplication by scalars is distributive with respect to vectorddition, a(+y=a+ ag, and2)multiplication by vectors is distributive with respect to scalar ad-dition, (a B )r s ac+ Bc.These axioms are not claimed to be logically independent; they aremerely a convenient characterization of the objects we wish to study. Therelation between a vector space V and the underlying field s is usuallydescribed by saying that v is a vector space over 5. If S is the field Rof real number, u is called a real vector space; similarly if s is Q or if gise, we speak of rational vector spaces or complex vector space§3. ExamplesBefore discussing the implications of the axioms, we give some examplesWe shall refer to these examples over and over again, and we shall use thenotation established here throughout the rest of our work.(1) Let e(= e)be the set of all complex numbers; if we interpretr+y and az as ordinary complex numerical addition and multiplicatione becomes a complex vector space2)Let o be the set of all polynomials, with complex coeficients, in avariable t. To make into a complex vector space, we interpret vectoraddition and scalar multiplication as the ordinary addition of two poly-nomials and the multiplication of a polynomial by a complex numberthe origin in o is the polynomial identically zeroExample(1)is too simple and example (2)is too complicated to betypical of the main contents of this book. We give now another exampleof complex vector spaces which(as we shall see later)is general enough forall our purposes.3)Let en,n= 1, 2,. be the set of all n-tuples of complex numbers.Ix=(1,…,轨)andy=(m1,…,n) are elements of e, we write,,bdefinitionz+y=〔1+叽,…十物m)0=(0,…,0),-inIt is easy to verify that all parts of our axioms(a),(B), and (C),52, aresatisfied, so that en is a complex vector space; it will be called n-dimenaionalcomplex coordinate space
    2020-12-05下载
    积分:1
  • android毕业设计
    android毕业设计,适合用来上交作业的,期末考试项目的项目,欢迎下载,经过调试绝对可以运行。
    2021-05-06下载
    积分:1
  • matlab建立的DFIG模型
    通过建立这个模型 可以实现简单的风力发电功能
    2020-12-02下载
    积分:1
  • SCMA基础链路
    SCMA简单的基础链路仿真程序,输出结果为SCMA系统的SNR与BER的仿真曲线
    2020-12-09下载
    积分:1
  • 基于Systemview的通信系统的仿真(2ASK、2PSK、2DPSK、2FSK)
    目 录一、绪论 2二、Systemview软件简介 32.1 Systemview软件特点 32.2 使用Systemview进行系统仿真的步骤 3三、二进制频移键控(2FSK) 43.1 二进制频移键控(2FSK)的基本原理 43.1.1 2FSK调制的方法 43.1.2 2FSK解调的方法 63.2 使用Systemview软件对2FSK系统进行仿真 63.2.1 2FSK信号的产生 63.2.2 2FSK信号的频谱图 83.2.3 2FSK非相干解调系统 93.2.4 2FSK锁相鉴频法解调系统 12四、二进制振幅键控(2ASK) 134.1、二
    2020-12-01下载
    积分:1
  • LoRa计算器,适用于SX126x系列,包括SX1261/1262/1268
    物联网研发工程师的福音,关于什么传输速率、空中时间、发射功耗、扩频因子,打开这个计算器,一算便知
    2020-11-27下载
    积分:1
  • 偏微分数值解课设计,(有设计报告)
    偏微分数值解课程设计,偏微分数值解课程设计,(有设计报告)
    2020-11-29下载
    积分:1
  • MATLAB风机的demo
    MATLAB风力发电的demo程序,包括风力发电系统的各个部分
    2020-11-29下载
    积分:1
  • 696518资源总数
  • 105578会员总数
  • 20今日下载