 After an image has been segmented into regions by methods such as those discussed in image segmentation chapter, the segmented pixels usually are represented.

Slides:



Advertisements
Similar presentations
Representation and Description
Advertisements

電腦視覺 Computer and Robot Vision I
November 12, 2013Computer Vision Lecture 12: Texture 1Signature Another popular method of representing shape is called the signature. In order to compute.
Document Image Processing
Extended Gaussian Images
Convex Hulls in Two Dimensions Definitions Basic algorithms Gift Wrapping (algorithm of Jarvis ) Graham scan Divide and conquer Convex Hull for line intersections.
Computer Vision Lecture 16: Region Representation
Some Basic Morphological Algorithm
Each pixel is 0 or 1, background or foreground Image processing to
September 10, 2013Computer Vision Lecture 3: Binary Image Processing 1Thresholding Here, the right image is created from the left image by thresholding,
Image Indexing and Retrieval using Moment Invariants Imran Ahmad School of Computer Science University of Windsor – Canada.
Chapter 5 Raster –based algorithms in CAC. 5.1 area filling algorithm 5.2 distance transformation graph and skeleton graph generation algorithm 5.3 convolution.
November 4, 2014Computer Vision Lecture 15: Shape Representation II 1Signature Another popular method of representing shape is called the signature. In.
1 Computer Graphics Chapter 7 3D Object Modeling.
Complex Networks for Representation and Characterization of Object For CS790g Project Bingdong Li 11/9/2009.
Processing Digital Images. Filtering Analysis –Recognition Transmission.
Lectures 10&11: Representation and description
Information that lets you recognise a region.
1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.
Chapter 11 Representation and Description. Preview Representing a region involves two choices: In terms of its external characteristics (its boundary)
DIGITAL IMAGE PROCESSING
Introduction --Classification Shape ContourRegion Structural Syntactic Graph Tree Model-driven Data-driven Perimeter Compactness Eccentricity.
October 8, 2013Computer Vision Lecture 11: The Hough Transform 1 Fitting Curve Models to Edges Most contours can be well described by combining several.
CS 450: Computer Graphics REVIEW: OVERVIEW OF POLYGONS
Digital Image Processing
Lecture 19 Representation and description II
Machine Vision for Robots
October 14, 2014Computer Vision Lecture 11: Image Segmentation I 1Contours How should we represent contours? A good contour representation should meet.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 11 Representation & Description Chapter 11 Representation.
Digital Image Processing Lecture 20: Representation & Description
Lecture 5. Morphological Image Processing. 10/6/20152 Introduction ► ► Morphology: a branch of biology that deals with the form and structure of animals.
Recap CSC508.
Part 6: Graphics Output Primitives (4) 1.  Another useful construct,besides points, straight line segments, and curves for describing components of a.
Chapter 9.  Mathematical morphology: ◦ A useful tool for extracting image components in the representation of region shape.  Boundaries, skeletons,
Topic 10 - Image Analysis DIGITAL IMAGE PROCESSING Course 3624 Department of Physics and Astronomy Professor Bob Warwick.
Intelligent Vision Systems ENT 496 Object Shape Identification and Representation Hema C.R. Lecture 7.
Digital Image Processing CSC331
Quadratic Surfaces. SPLINE REPRESENTATIONS a spline is a flexible strip used to produce a smooth curve through a designated set of points. We.
Chapter 10 Image Segmentation.
Chapter 10, Part II Edge Linking and Boundary Detection The methods discussed in the previous section yield pixels lying only on edges. This section.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Representation & Description.
Representation and Description Selim Aksoy Department of Computer Engineering Bilkent University
Introduction --Classification Shape ContourRegion Structural Syntactic Graph Tree Model-driven Data-driven Perimeter Compactness Eccentricity.
主講人 : 張緯德 1.  Image segmentation ◦ ex: edge-based, region-based  Image representation ◦ ex: Chain code, polygonal approximation signatures, skeletons.
VECTORS AND THE GEOMETRY OF SPACE 10. VECTORS AND THE GEOMETRY OF SPACE In this chapter, we introduce vectors and coordinate systems for three-dimensional.
1 Overview representing region in 2 ways in terms of its external characteristics (its boundary)  focus on shape characteristics in terms of its internal.
 Mathematical morphology is a tool for extracting image components that are useful in the representation and description of region shape, such as boundaries,
Image Segmentation Nitin Rane. Image Segmentation Introduction Thresholding Region Splitting Region Labeling Statistical Region Description Application.
Digital Image Processing, 3rd ed. © 1992–2008 R. C. Gonzalez & R. E. Woods Gonzalez & Woods Chapter 11 Representation and.
Course 3 Binary Image Binary Images have only two gray levels: “1” and “0”, i.e., black / white. —— save memory —— fast processing —— many features of.
Lecture(s) 3-4. Morphological Image Processing. 3/13/20162 Introduction ► ► Morphology: a branch of biology that deals with the form and structure of.
Sheng-Fang Huang Chapter 11 part I.  After the image is segmented into regions, how to represent and describe these regions? ◦ In terms of its external.
Materi 09 Analisis Citra dan Visi Komputer Representasi and Deskripsi 1.
1. 2 What is Digital Image Processing? The term image refers to a two-dimensional light intensity function f(x,y), where x and y denote spatial(plane)
Image Representation and Description – Representation Schemes
图像处理技术讲座(3) Digital Image Processing (3) Basic Image Operations
IT472: Digital Image Processing
Digital Image Processing Lecture 20: Representation & Description
COMP 9517 Computer Vision Segmentation 7/2/2018 COMP 9517 S2, 2017.
Computer Vision Lecture 13: Image Segmentation III
Materi 10 Analisis Citra dan Visi Komputer
Representation and Description
Mean Shift Segmentation
Fitting Curve Models to Edges
CS Digital Image Processing Lecture 5
Binary Image processing بهمن 92
Representation and Description
Representation and Description
Fourier Transform of Boundaries
Digital Image Processing, 3rd ed.
Presentation transcript:

 After an image has been segmented into regions by methods such as those discussed in image segmentation chapter, the segmented pixels usually are represented and described in a form suitable for further computer processing.  Basically, representing a region involves two choices: ◦ 1- we can represent the region in terms of its external characteristics (its boundary). ◦ 2- or we can represent it in terms of its internal characteristics (the pixels comprising the region).  Choosing a representation scheme, however, in only part of the task of making the data useful to a computer.

 The next task is to describe the region based on the chosen representation.  For example, a region may be represented by its boundary, and the boundary is described by features such as its length, the orientation of the straight line joining its extreme points, and the number of concavities in the boundary.  An external representation is chosen when the primary focus is on shape characteristics.  An internal representation is selected when the primary focus is on regional properties, such as color and texture.

 Sometimes it may be necessary to use both types of representation.  In either case, the features selected as descriptors should be as insensitive as possible to variations in size, translation, and rotation.  For most part, the descriptors discussed in this chapter satisfy one or more of these properties.

 In this section, we discuss various representation approaches: ◦ Boundary (Border) Following. ◦ Chain Codes. ◦ Polygonal Approximations using Minimum-Perimeter Polygons.  Foundation  MPP algorithm ◦ Other polygonal Approximation Approaches  Merging techniques  Splitting Techniques ◦ Signatures ◦ Boundary Segments ◦ Skeletons

 Several of the algorithms discussed in this chapter require that the points in the boundary of a region be ordered in a clockwise direction.  Consequently, we begin our discussion by introducing a boundary following algorithm whose output is an ordered sequence of points, we assume that: ◦ 1. we are working with binary images in which object and background points are labeled 1 and 0, respectively. ◦ 2. images are padded with a border of 0s to eliminate the possibility of an object merging with image border. ◦ 3. for convenience, we limit the discussion to single regions. The approach is extended to multiple, disjoint regions by processing the regions individually.

 Given a binary region R or its boundary, an algorithm for following the border of R, or the given boundary, consists of the following: ◦ 1- let the starting point, b 0, be the uppermost, leftmost point in the image that is labeled 1. denote by c 0 the west neighbor of b 0 [see Fig (b)]. Clearly, c 0 always is a background point. Examine the 8-neighbor of b 0, starting a c 0 and proceeding in a clockwise direction. Let b 1 denote the first neighbor encountered whose value is 1, and let c 1 be the (background) point immediately preceding b 1 in the sequence. Store the locations of b 0 and b 1 for use in step 5.\ ◦ 2- let b = b 1 and c = c 1 [Fig.11(c)]. ◦ 3- let the 8-neighbors of b, strting at c and proceeding in a clockwise direction, be denoted by n 1, n 2, …, n 8. Find the first n k labeled 1. ◦ 4- let b = n k and c = n k-1 ◦ 5- repeat steps 3 and 4 until b = b 0 and the next boundary point found is b 1. the sequence of b points found when the algorithm stops constitutes the set of ordered boundary points.

 Chain codes are used to represent a boundary by a connected sequence of straight-line segments of specified length and direction.  Typically this representation is based on 4- or 8- connectivity of the segment.  The direction of each segment is coded using a numbering scheme, as in Fig  A boundary code formed as a sequence of such directional numbers is referred to as a Freeman Chain Code.

 A digital boundary can be approximated with arbitrary accuracy by a polygon.  For a closed boundary, the approximation becomes exact when the number of segments of the polygon is equal to the number of points in the boundary so that each pair of adjacent points defines a segment of the polygon.  The goal of this approach is to capture the essence of the shape in a given boundary using the fewest possible number of segments.  One of the most powerful algorithms for representing a boundary by a minimum-perimeter polygon (MPP) as defined in the following discussion.

 Foundation: an approach for generating an algorithm to compute MPPs is to enclose a boundary [Fig. 11.6(a)] by a set of concatenated cells, as in (b).  Think of the boundary as a rubber band, as it is allowed to shrink, the rubber band will be constrained by the inner and outer walls of the bounding region defined by the cells.

 Merging techniques: one approach is to merge points along the boundary until the least square error (LSE) line fit of the points merged so far exceed a present threshold. When this condition occurs, the parameters of the line are stored, the error is set to 0, and the procedure is repeated to merge new points along the boundary. One of the principal difficulties in this approach is to merge points at the corners.  Splitting techniques: it is the approach to subdivide a segment into two parts until a specified criterion is satisfied.  Splitting a boundary segment depends on drawing a line joining two end points. Then drawing line at the top and bottom of the drawn line.

 A signature is a 1-D functional representation of a boundary and may be generated in various ways.  One of the simplest ways is to plot the distance from the centroid to the boundary.  Signatures depend on rotation and scaling.  Representing signatures depend on normalization with respect to rotation, by selecting the starting point which is the farthest from the centroid.  This way requires more computation, another way is to use the chain code algorithms for this purpose.

 Decomposition a boundary into segments is often useful.  Decomposition reduces the boundary’s complexity and thus simplifies the description process.  This process is particularly attractive when the boundary contains one or more significant concavities that carry shape information.  This approach depends o the convex hull algorithm.

 Boundary Descriptors ◦ Some Simple Descriptors ◦ Shape Numbers ◦ Fourier Descriptors ◦ Statistical Moments  Regional Descriptors ◦ Some Simple Descriptors ◦ Topological Descriptors ◦ Texture  Statistical approaches  Structural approaches  Spectral approaches  Relational Descriptors

 Boundary Descriptors: in this section, we consider several approaches to describing the boundary of a region.  Regional Descriptors: the focus here on regional descriptors  In other sections they are applicable to both boundaries and regions.

◦ Some Simple Descriptors: the length of the boundary is one of its simplest descriptors. ◦ The number of pixels along a boundary gives a rough approximation of its length. ◦ Shape Numbers: as explained in the chain code boundary, the first difference of a chain coded boundary depends on the starting point. The shape number of such a boundary, based on the 4- directional code is defined as the first difference of smallest magnitude. The order n of shape number is defined as the number of digits in its representation.

 The order n is even for a closed boundary, and its value limits the number of possible different shapes. Fig shows all the shapes of order 4, 6, and 8, along with their chain code representations, first differences and corresponding shape numbers.

 Fig shows a K-point digital boundary in the x y-plane.  Starting at an arbitrary point (x 0, y 0 ), coordinate (x 0, y 0 ), (x 1, y 1 ), (x 2, y 2 ), …, (x k-1, y k-1 ) are encountered in traversing the boundary, say, in the counter clockwise direction.  The boundary itself can be represented in a sequence of coordinates.  In this approach the x-axis is treated as the real axis and the y-axis as the imaginary axis of a sequence of complex numbers.  Although the of the sequence interpretation of the sequence was recast, the nature of the boundary itself was not changed.  Of course, this representation has one great advantage: it reduces a 2-D to a 1-D problem.

 The shape of boundary segments (and of signature waveforms) can be described quantitatively by using statistical moments, such as the mean, variance, and higher order moments.

 In this section we consider several approaches for describing image regions. Keep in mind that it is a common practice to use both boundary and regional descriptors combined.  Some Simple Descriptors: the area of a region is described as the number of pixels in the region. The perimeter of a region is the length of its boundary. Although area and perimeter are sometimes used as descriptors, they apply primarily to situations in which the size of the regions of interest is invariant.

 Topological properties are useful for global descriptions of regions in the image plane.  Simply defined, topology is the study of properties of a figure (sometimes these are called rubber-sheet distortions).  For example Fig shows a region with two holes. Thus if a topological descriptor is defined by the number of holes in the region, this property obviously will not be affected by stretching or rotation transformation. In general, however, the number of holes will change if the region is torn or folded.

 Another topological property useful for region description is the number of connected components. Fig shows a region with three connected components. The number of holes H and connected components C in a figure can be used to define to Euler number E: E = C – H The Euler formula is used for computing connected components  Another example in Fig shows a polygonal network. Classifying interior regions of such a network into faces and holes is often important. Denoting the number of vertices by V, the number of edges is Q, and the number of faces is F gives the following relationship, called the Euler formula: V – Q + F = C - H

 An important approach to region description is to quantify its texture content. Although no formal definition of texture exists, intuitively, this descriptor provides measures of properties such as smoothness, coarseness, and regularity. (Fig shows some examples).  The three principal approaches used in image processing to describe the texture of a region are: satatistical, structural, and spectral. ◦ Statistical approaches: yield characterizations of textures as smooth, coarse, grainy, and so on. ◦ Structural techniques: deal with the arrangement of image primitives, such as the description of texture based on regularity spaced parallel lines. ◦ Spectral techniques: are based on the properties of the Fourier spectrum and are used primarily to detect global periodicity in an image by identifying high-energy, narrow peaks in the spectrum.

 yield characterizations of textures as smooth, coarse, grainy, and so on. Statistical means using statistical measures such as, mean, Standard Deviation, and so on.

 Structural approaches: Deal with the arrangement of image primitives, such as the description of texture based on regularity spaced parallel lines.  Spectral: are based on the properties of the Fourier spectrum and are used primarily to detect global periodicity in an image by identifying high-energy, narrow peaks in the spectrum.

 The Representation and description of objects or regions that have been segmented out of an image are early steps in the operation of most automated involving images.  These description for example, constitute the input to the object recognition methods developed in the following chapter.