1 Overview representing region in 2 ways in terms of its external characteristics (its boundary)  focus on shape characteristics in terms of its internal.

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
CDS 301 Fall, 2009 Image Visualization Chap. 9 November 5, 2009 Jie Zhang Copyright ©
Each pixel is 0 or 1, background or foreground Image processing to
3D Skeletons Using Graphics Hardware Jonathan Bilodeau Chris Niski.
Provides mathematical tools for shape analysis in both binary and grayscale images Chapter 13 – Mathematical Morphology Usages: (i)Image pre-processing.
November 4, 2014Computer Vision Lecture 15: Shape Representation II 1Signature Another popular method of representing shape is called the signature. In.
Complex Networks for Representation and Characterization of Object For CS790g Project Bingdong Li 11/9/2009.
Chapter 9 Morphological Image Processing. Preview Morphology: denotes a branch of biology that deals with the form and structure of animals and planets.
1Ellen L. Walker Matching Find a smaller image in a larger image Applications Find object / pattern of interest in a larger picture Identify moving objects.
Lectures 10&11: Representation and description
Smart Traveller with Visual Translator for OCR and Face Recognition LYU0203 FYP.
Information that lets you recognise a region.
Chapter 11 Representation and Description. Preview Representing a region involves two choices: In terms of its external characteristics (its boundary)
E.G.M. PetrakisBinary Image Processing1 Binary Image Analysis Segmentation produces homogenous regions –each region has uniform gray-level –each region.
The content of these slides by John Galeotti, © Carnegie Mellon University (CMU), was made possible in part by NIH NLM contract# HHSN P,
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.
Chapter 10: Image Segmentation
Digital Image Processing
Lecture 19 Representation and description II
Machine Vision for Robots
8D040 Basis beeldverwerking Feature Extraction Anna Vilanova i Bartrolí Biomedical Image Analysis Group bmia.bmt.tue.nl.
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.
Image Processing and Analysis (ImagePandA) 9 – Shape Christoph Lampert / Chris Wojtan.
Chapter 9.  Mathematical morphology: ◦ A useful tool for extracting image components in the representation of region shape.  Boundaries, skeletons,
8D040 Basis beeldverwerking Feature Extraction Anna Vilanova i Bartrolí Biomedical Image Analysis Group bmia.bmt.tue.nl.
CS 6825: Binary Image Processing – binary blob metrics
ENT 273 Object Recognition and Feature Detection Hema C.R.
Shape Based Image Retrieval Using Fourier Descriptors Dengsheng Zhang and Guojun Lu Gippsland School of Computing and Information Technology Monash University.
Intelligent Vision Systems ENT 496 Object Shape Identification and Representation Hema C.R. Lecture 7.
Digital Image Processing CSC331
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.
Last update Heejune Ahn, SeoulTech
CS654: Digital Image Analysis Lecture 36: Feature Extraction and Analysis.
Course 8 Contours. Def: edge list ---- ordered set of edge point or fragments. Def: contour ---- an edge list or expression that is used to represent.
Image Registration Advanced DIP Project
CDS 301 Fall, 2008 Image Visualization Chap. 9 November 11, 2008 Jie Zhang Copyright ©
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.
 After an image has been segmented into regions by methods such as those discussed in image segmentation chapter, the segmented pixels usually are represented.
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.
Image Representation and Description – Representation Schemes
Medical Image Analysis
IT472: Digital Image Processing
Recognition of biological cells – development
Digital Image Processing Lecture 20: Representation & Description
Materi 10 Analisis Citra dan Visi Komputer
Representation and Description
Lecture 13 Shape ch. 9, sec. 1-8, of Machine Vision by Wesley E
Mean Shift Segmentation
Fitting Curve Models to Edges
Domain-Modeling Techniques
CS Digital Image Processing Lecture 5
Binary Image processing بهمن 92
Representation and Description
Representation and Description
Digital Image Processing, 3rd ed.
Lecture 14 Shape ch. 9, sec. 1-8, of Machine Vision by Wesley E
Presentation transcript:

1 Overview representing region in 2 ways in terms of its external characteristics (its boundary)  focus on shape characteristics in terms of its internal characteristics (its region)  focus on regional properties, e.g., color, texture sometimes, we may need to use both ways

2 Overview Description describes the region based on the chosen representation ex. representation  boundary description  length of the boundary, orientation of the straight line joining its extreme points, and the number of concavities in the boundary.

3 Sensitivity as insensitive as feature selected as descriptors should be as insensitive as possible to variations in size translation rotation following descriptors satisfy one or more of these properties.

4 Representation Segmentation techniques yield raw data in the form of pixels along a boundary or pixels contained in a region these data sometimes are used directly to obtain descriptors standard uses techniques to compute more useful data (descriptors) from the raw data in order to decrease the size of data.

5 Chain codes based on 4 or 8 connectivity

6

7 Chain codes unacceptable because the resulting chain of codes tends to be quite long any small disturbances along the boundary due to noise or imperfect segmentation cause changes in the code that may not be related to the shape of the boundary

8 Chain codes circumvent the problems by resample the boundary by selecting a larger grid spacing however, different grid can generate different chain codes starting point is arbitrary need to normalize the generated code so that codes with different starting point will become the same.

9 Normalized chain codes treat the chain code as a circular sequence of direction numbers and redefine the starting point so that the resulting sequence of numbers forms an integer of minimum magnitude  “ shape numbers ” or use rotation of the first different chain code instead difference = the number of direction changes in a counterclockwise direction ex. code different is circular chain code: rotation of circular chain code :

10 Normalized chain codes are exact only if the boundaries are invariant to rotation and scale change. but these are seldom cases.

11 Polygonal Approximations boundary can be approximated with arbitrary accuracy by a polygon try to capture the “ essence ” of the boundary shape with the fewest possible polygonal segments. not trivial and time consuming

12 Minimum perimeter polygons if each cell encompass only one point on the boundary error is at most be d is the minimum possible distance between different pixels

13 Merging techniques based on average error or other criteria merge points along the boundary until the least square error line fit of the points merged so far exceeds a preset threshold

14 Splitting techniques 1.find the major axis 2.find minor axes which perpendicular to major axis and has distance greater than a threshold 3.repeat until we can’t split anymore

15 Signatures map 2D function to 1D function

16 Boundary Segments convex hull H of an arbitrary set S is the smallest convex set containing S the set different H-S is called convex deficiency D of the set S

17 Skeletons medial axis (skeleton)

18 MAT MAT of region R with border B is as follows. for each point p in R, we find its closest neighbor in B. if p has more than one such neighbor, it is said to belong to the medial axis of R closest depends on the definition of a distance

19 iterative deleting edge points of a region with constraints 1.does not remove end points 2.does not break connectivity 3.does not cause excessive erosion of the region Thinning

20 assume region points have value 1 and background points have value 0 step 1: flag a contour point p 1 for deletion if the following conditions are satisfied contour point is any pixel with value 1 and having at least one 8- neighbor valued 0 N(p i ) is the number of nonzero neighbors of p i

21 step 2: remain condition (a) and (b) but change conditions (c) and (d) to follows after step 1 has marked every boundary points satisfy all 4 conditions, delete those pixels. flagged the remain border points for deletion. then delete the marked points repeat step 1) and 2) until no more points to delete

22 Example

23 Example

24

25 Boundary Descriptors length of a boundary diameters Eccentricity shape numbers Fourier descriptors

26 Length of a boundary the number of pixels along a boundary give a rough approximation of its length

27 Diameters D is a distance measure p i and p j are points on the boundary B

28 Eccentricity ratio of the major to the minor axis major axis = the line connecting the two extreme points that comprise the diameter minor axis = the line perpendicular to the major axis

29 Shape numbers 4-directional code

30

31 Fourier Descriptors boundary = (x 0,y 0 ), …, (x K-1,y k-1 )

32 Fourier Descriptors a(u) : Fourier coefficients (Fourier Descriptors) (DFT) Inverse Fourier transformation Fourier transformation

33 P Coefficient of Fourier Descriptors approximation to s(k) descriptors  P number of coefficients

34

35 Invariant

36 Regional Descriptors area perimeter compactness topological descriptors texture

37 Simple descriptors area = the number of pixels in the region perimeter = length of its boundary Compactness = (perimeter) 2 /area

38 Topological descriptors E = C - H E = Euler number C = number of connected region H = number of holes

39 V – Q + F = C – H = E V = number of vertices Q = number of edges F = number of faces = 1-3 = -2 Straight-line segments (polygon networks)

Regional Descriptors Moments of Two-Dimensional Functions Regional Descriptors Moments of Two-Dimensional Functions For a 2-D continuous function f(x,y), the moment of order (p+q) is defined as The central moments are defined as

Regional Descriptors Moments of Two-Dimensional Functions Regional Descriptors Moments of Two-Dimensional Functions If f(x,y) is a digital image, then The central moments of order up to 3 are

Regional Descriptors Moments of Two-Dimensional Functions Regional Descriptors Moments of Two-Dimensional Functions The central moments of order up to 3 are

Regional Descriptors Moments of Two-Dimensional Functions Regional Descriptors Moments of Two-Dimensional Functions The normalized central moments are defined as

Regional Descriptors Moments of Two-Dimensional Functions Regional Descriptors Moments of Two-Dimensional Functions A seven invariant moments can be derived from the second and third moments:

Regional Descriptors Moments of Two-Dimensional Functions Regional Descriptors Moments of Two-Dimensional Functions This set of moments is invariant to translation, rotation, and scale change.

Regional Descriptors Moments of Two-Dimensional Functions Regional Descriptors Moments of Two-Dimensional Functions

Table 11.3 Moment invariants for the images in Figs (a)-(e). Regional Descriptors Moments of Two-Dimensional Functions Regional Descriptors Moments of Two-Dimensional Functions

Hotelling Transformation (PCA: Principal Component Analysis) Hotelling Transformation (PCA: Principal Component Analysis) For a community of n dimensional random vectors Mean Vector = Expected Value =

Hotelling Transformation (PCA: Principal Component Analysis) Hotelling Transformation (PCA: Principal Component Analysis) Covariance Matrix =

Hotelling Transformation (PCA: Principal Component Analysis) Hotelling Transformation (PCA: Principal Component Analysis) Example:

Hotelling Transformation (PCA: Principal Component Analysis) Hotelling Transformation (PCA: Principal Component Analysis) Eigen Values and vectors of a Matrix: A = Hotelling Transform:

The Object is uncorrelated from Rotation The eigen values are the variances along the eigen axis and can be used for size normalization. The effect of Translation is also removed as the object is Centered in its mean :