数字图像处理冈萨雷斯英文Chapter 表示与描述.pptx
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_05.gif)
《数字图像处理冈萨雷斯英文Chapter 表示与描述.pptx》由会员分享,可在线阅读,更多相关《数字图像处理冈萨雷斯英文Chapter 表示与描述.pptx(49页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、Image Representation and Description?Image Representation and Description?Objective:To represent and describe information embedded inan image in other forms that are more suitable than the image itself.Benefits:-Easier to understand-Require fewer memory,faster to be processed-More“ready to be used”W
2、hat kind of information we can use?-Boundary,shape-Region-Texture-Relation between regions第1页/共49页Shape Representation by Using Chain Codes Shape Representation by Using Chain Codes Chain codes:represent an object boundary by a connected sequence of straight line segments of specified lengthand dire
3、ction.4-directionalchain code8-directionalchain codeWhy we focus on a boundary?The boundary is a good representation of an object shapeand also requires a few memory.(Images from Rafael C.Gonzalez and Richard E.Wood,Digital Image Processing,2nd Edition.第2页/共49页Examples of Chain Codes Examples of Cha
4、in Codes Object boundary(resampling)Boundaryvertices4-directionalchain code8-directionalchain code(Images from Rafael C.Gonzalez and Richard E.Wood,Digital Image Processing,2nd Edition.第3页/共49页The First Difference of a Chain Codes The First Difference of a Chain Codes Problem of a chain code:a chain
5、 code sequence depends on a starting point.Solution:treat a chain code as a circular sequence and redefine thestarting point so that the resulting sequence of numbers forms an integer of minimum magnitude.The first difference of a chain code:counting the number of directionchange(in counterclockwise
6、)between 2 adjacent elements of the code.Example:1230Example:-a chain code:10103322 -The first difference=3133030 -Treating a chain code as a circular sequence,we get the first difference=33133030Chain code:The first difference 0 1 1 0 2 2 0 3 3 2 3 1 2 0 2 2 1 3The first difference is rotationalinv
7、ariant.第4页/共49页Polygon Approximation Polygon Approximation Object boundaryMinimum perimeterpolygonRepresent an object boundary by a polygonMinimum perimeter polygon consists of line segments that minimize distances between boundary pixels.(Images from Rafael C.Gonzalez and Richard E.Wood,Digital Ima
8、ge Processing,2nd Edition.第5页/共49页Polygon Approximation:Splitting Techniques Polygon Approximation:Splitting Techniques 1.Find the line joiningtwo extreme points0.Object boundary2.Find the farthest pointsfrom the line3.Draw a polygon(Images from Rafael C.Gonzalez and Richard E.Wood,Digital Image Pro
9、cessing,2nd Edition.第6页/共49页Distance-Versus-Angle Signatures Distance-Versus-Angle Signatures Represent an 2-D object boundary in term of a 1-D function of radial distance with respect to q.(Images from Rafael C.Gonzalez and Richard E.Wood,Digital Image Processing,2nd Edition.第7页/共49页Boundary Segmen
10、ts Boundary Segments Concept:Partitioning an object boundary by using vertices of a convex hull.Convex hull(gray color)Object boundaryPartitioned boundary(Images from Rafael C.Gonzalez and Richard E.Wood,Digital Image Processing,2nd Edition.第8页/共49页Input :A set of points on a cornea boundaryOutput:A
11、 set of points on a boundary of a convex hull of a cornea1.Sort the points by x-coordinate to get a sequence p1,p2,pnFor the upper side of a convex hull2.Put the points p1 and p2 in a list Lupper with p1 as the first point3.For i=3 to n4.Do append pi to Lupper5.While Lupper contains more than 2 poin
12、ts and the last 3 points in Lupper do not make a right turn6.Do delete the middle point of the last 3 points from LupperTurnRightOK!TurnRightOK!TurnLeftNOK!Convex Hull Algorithm Convex Hull Algorithm 第9页/共49页For the lower side of a convex hull7.Put the points pn and pn-1 in a list Llower with pn as
13、the first point8.For i=n-2 down to 19.Do append pi to Llower10.While Llower contains more than 2 points and the last 3 points in Llower do not make a right turn11.Do delete the middle point of the last 3 points from Llower12.Remove the first and the last points from Llower13.Append Llower to Lupper
14、resulting in the list L14.Return LTurnRightOK!TurnRightOK!TurnLeftNOK!Convex Hull Algorithm(cont.)Convex Hull Algorithm(cont.)第10页/共49页Skeletons Skeletons Obtained from thinning or skeletonizing processesMedial axes(dash lines)(Images from Rafael C.Gonzalez and Richard E.Wood,Digital Image Processin
15、g,2nd Edition.第11页/共49页Thinning Algorithm Thinning Algorithm Neighborhoodarrangementfor the thinningalgorithmConcept:1.Do not remove end points2.Do not break connectivity3.Do not cause excessive erosionApply only to contour pixels:pixels“1”having at least one of its 8neighbor pixels valued“0”p2p9p3p
16、8p7p1p4p6p5LetT(p1)=the number of transition 0-1 in the ordered sequence p2,p3,p8,p9,p2.Notation:=Let00111p1001ExampleN(p1)=4T(p1)=3第12页/共49页Thinning Algorithm(cont.)Thinning Algorithm(cont.)Step 1.Mark pixels for deletion if the following conditions are true.a)b)T(p1)=1c)d)p2p9p3p8p7p1p4p6p5Step 3.
17、Mark pixels for deletion if the following conditions are true.a)b)T(p1)=1c)d)Step 4.Delete marked pixels and repeat Step 1 until no change occurs.(Apply to all border pixels)Step 2.Delete marked pixels and go to Step 3.(Apply to all border pixels)第13页/共49页Example:Skeletons Obtained from the Thinning
18、 Alg.Example:Skeletons Obtained from the Thinning Alg.(Images from Rafael C.Gonzalez and Richard E.Wood,Digital Image Processing,2nd Edition.Skeleton第14页/共49页Boundary Descriptors Boundary Descriptors 1.Simple boundary descriptors:we can use-Length of the boundary-The size of smallest circle or box t
19、hat can totally enclosing the object2.Shape number3.Fourier descriptor4.Statistical moments第15页/共49页Shape Number Shape Number Shape number of the boundary definition:the first difference of smallest magnitudeThe order n of the shape number:the number of digits in the sequence1230(Images from Rafael
20、C.Gonzalez and Richard E.Wood,Digital Image Processing,2nd Edition.第16页/共49页Shape Number(cont.)Shape Number(cont.)Shape numbers of order 4,6 and 8(Images from Rafael C.Gonzalez and Richard E.Wood,Digital Image Processing,2nd Edition.第17页/共49页Example:Shape Number Example:Shape Number Chain code:0 0 0
21、 0 3 0 0 3 2 2 3 2 2 2 1 2 1 1First difference:3 0 0 0 3 1 0 3 3 0 1 3 0 0 3 1 3 0Shape No.0 0 0 3 1 0 3 3 0 1 3 0 0 3 1 3 0 31.Original boundary2.Find the smallest rectanglethat fits the shape3.Create grid4.Find the nearest Grid.(Images from Rafael C.Gonzalez and Richard E.Wood,Digital Image Proces
22、sing,2nd Edition.第18页/共49页Fourier Descriptor Fourier Descriptor Fourier descriptor:view a coordinate(x,y)as a complex number(x=real part and y=imaginary part)then apply the Fourier transform to a sequence of boundary points.(Images from Rafael C.Gonzalez and Richard E.Wood,Digital Image Processing,2
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 数字图像处理冈萨雷斯英文Chapter 表示与描述 数字图像 处理 冈萨雷斯 英文 Chapter 表示 描述
![提示](https://www.taowenge.com/images/bang_tan.gif)
限制150内