IPPR Chapter 10 - 11 - Representation and Description
IPPR Chapter 10 - 11 - Representation and Description
Week 11 & 12
Representation and Description
Motivation
CT036-3-3-IPPR: Image Processing, Computer Vision and Pattern Recognition Representation and Description SLIDE 2
Topic & Structure of the lesson
• Representation schemes
• Boundary descriptors
• Regional descriptors
CT036-3-3-IPPR: Image Processing, Computer Vision and Pattern Recognition Representation and Description SLIDE 3
CT036-3-3-IPPR: Image Processing, Computer Vision and Pattern Recognition Representation and Description SLIDE 4
CT036-3-3-IPPR: Image Processing, Computer Vision and Pattern Recognition Representation and Description SLIDE 5
CT036-3-3-IPPR: Image Processing, Computer Vision and Pattern Recognition Representation and Description SLIDE 6
Representation – Chain Codes
Chain Code
– represent a boundary by a connected sequence of straight-line
segment of specified length and direction
– based on 4-or- 8 connectivity of the segments
– can be generated following a boundary in a clockwise direction
and assigning a direction to the segments connecting every pair of
pixels
CT036-3-3-IPPR: Image Processing, Computer Vision and Pattern Recognition Representation and Description SLIDE 7
Representation –
Resampling for Chain Codes
Spacing of the
sampling grid affect
the accuracy of the
representation
0033…01 0766…12
(4-directional) (8-directional)
CT036-3-3-IPPR: Image Processing, Computer Vision and Pattern Recognition Representation and Description SLIDE 9
Image Representation
CT036-3-3-IPPR: Image Processing, Computer Vision and Pattern Recognition Representation and Description SLIDE 10
Boundary descriptors
Boundary information can be used directly, or converted into features that describe properties of a region,
such as
• Length of the boundary
• Orientation of straight line joining its extreme points
• Number of concavities in the boundary
• Diameter:
– Lead to Major axis and minor axis (Perpendicular to major)
– Basic Rectangle
• Curvature
– the rate of change of slope (the difference between the slope of adjacent boundary segments)
• Shape Number:
-Smallest integers of first difference chain code
CT036-3-3-IPPR: Image Processing, Computer Vision and Pattern Recognition Representation and Description SLIDE 11
Boundary descriptors –
Shape Number
Circular chain code
CT036-3-3-IPPR: Image Processing, Computer Vision and Pattern Recognition Representation and Description SLIDE 12
Boundary descriptors –
Shape Number
CT036-3-3-IPPR: Image Processing, Computer Vision and Pattern Recognition Representation and Description SLIDE 13
Representation –
Polygonal Approximation
Polygon Approximation:
– Dominant Points
– Splitting
CT036-3-3-IPPR: Image Processing, Computer Vision and Pattern Recognition Representation and Description SLIDE 15
Representation –
Polygonal Approximation
Splitting Technique
CT036-3-3-IPPR: Image Processing, Computer Vision and Pattern Recognition Representation and Description SLIDE 16
Representation –
The skeleton of region
• Skeletonization/Thinning:
– Medial Axis Transform (MAT)
• Point p is belong to medial (Region R and Border B):
– Has more than one closest neighbor in B
CT036-3-3-IPPR: Image Processing, Computer Vision and Pattern Recognition Representation and Description SLIDE 17
Representation –
The skeleton of region
• Example of Thinning
CT036-3-3-IPPR: Image Processing, Computer Vision and Pattern Recognition Representation and Description SLIDE 18
Regional descriptors
❑ Simple
❑ Topological
❑ Texture
❑ Statistical
❑ Spectral
❑ Moments
CT036-3-3-IPPR: Image Processing, Computer Vision and Pattern Recognition Representation and Description SLIDE 19
Regional descriptors
CT036-3-3-IPPR: Image Processing, Computer Vision and Pattern Recognition Representation and Description SLIDE 20
Regional Descriptors –
Topology Description
CT036-3-3-IPPR: Image Processing, Computer Vision and Pattern Recognition Representation and Description SLIDE 21
Regional descriptors –
Topology Descriptor
CT036-3-3-IPPR: Image Processing, Computer Vision and Pattern Recognition Representation and Description SLIDE 22
Regional descriptors –
Topology Descriptor
Number of connected components (C) :
CT036-3-3-IPPR: Image Processing, Computer Vision and Pattern Recognition Representation and Description SLIDE 23
Regional descriptors –
Topology Descriptor
CT036-3-3-IPPR: Image Processing, Computer Vision and Pattern Recognition Representation and Description SLIDE 24
Regional descriptors –
Topology Descriptor
•Topology Descriptor:
– Polygonal net:
• V: # of vertices (7)
• Q: # of edges (11)
• F: # of faces (2)
•E=C-H=V-Q+F
– C=1 , H=3
CT036-3-3-IPPR: Image Processing, Computer Vision and Pattern Recognition Representation and Description SLIDE 25
Regional descriptors –
Topology Descriptor
Original Threshold
Large Skeleton
Connected
Region
CT036-3-3-IPPR: Image Processing, Computer Vision and Pattern Recognition Representation and Description SLIDE 26
Regional descriptors – Texture
CT036-3-3-IPPR: Image Processing, Computer Vision and Pattern Recognition Representation and Description SLIDE 27
Regional descriptors –
Statistical Texture
➢ Histogram based - 1st order grey level statistics
- Statistical moments
- Uniformity
- Average entropy
➢ Co-occurence matrix based - 2nd order grey level
statistics
- Maximum probability etc.
CT036-3-3-IPPR: Image Processing, Computer Vision and Pattern Recognition Representation and Description SLIDE 28
Regional descriptors –
Statistical Texture
Histogram Based Descriptors
Statistical Moments ➔Texture feature from 1st order statistics
CT036-3-3-IPPR: Image Processing, Computer Vision and Pattern Recognition Representation and Description SLIDE 29
Regional descriptors –
Statistical Texture
Histogram Based Descriptors
Uniformity and Average Entropy
❖ Also use the histogram properties z and p(zi).
U is maximum for an image in which all grey levels are equal (maximally
uniform).
CT036-3-3-IPPR: Image Processing, Computer Vision and Pattern Recognition Representation and Description SLIDE 30
Regional descriptors –
Statistical Texture
▪ Co-occurence Matrix➔ 2nd order grey level statistics
CT036-3-3-IPPR: Image Processing, Computer Vision and Pattern Recognition Representation and Description SLIDE 31
Regional descriptors –
Statistical Texture
Co-occurence Matrix
CT036-3-3-IPPR: Image Processing, Computer Vision and Pattern Recognition Representation and Description SLIDE 32
Regional descriptors –
Statistical Texture
▪ Co-occurence Matrix
CT036-3-3-IPPR: Image Processing, Computer Vision and Pattern Recognition Representation and Description SLIDE 33
Regional descriptors –
Statistical Texture
Co-occurence Matrix Descriptors
CT036-3-3-IPPR: Image Processing, Computer Vision and Pattern Recognition Representation and Description SLIDE 34
Regional descriptors –
Statistical Texture
Example Co-occurence Matrix Descriptors
CT036-3-3-IPPR: Image Processing, Computer Vision and Pattern Recognition Representation and Description SLIDE 35
Regional descriptors –
Statistical Texture
CT036-3-3-IPPR: Image Processing, Computer Vision and Pattern Recognition Representation and Description SLIDE 36
Relational Descriptors
❑ Primitive elements
❑ Directed line segments
❑ Tree
CT036-3-3-IPPR: Image Processing, Computer Vision and Pattern Recognition Representation and Description SLIDE 37
Relational descriptors
Primitive elements:
We introduced rewriting rules for describing texture.
Here, we expand that concept in the context of
relational descriptors.
Capture the basic repetitive patterns in a boundary
or region based on rewriting rules.
CT036-3-3-IPPR: Image Processing, Computer Vision and Pattern Recognition Representation and Description SLIDE 38
Relational descriptors
CT036-3-3-IPPR: Image Processing, Computer Vision and Pattern Recognition Representation and Description SLIDE 39
Relational descriptors
CT036-3-3-IPPR: Image Processing, Computer Vision and Pattern Recognition Representation and Description SLIDE 40
Relational descriptors
• Tree descriptors
– Definition
• A unique root node.
• The remaining nodes are partitioned into m disjoined sets T1,…, T m
(subtree)
– The tree frontier: the set of nodes at the bottom of the tree (the leaves)
CT036-3-3-IPPR: Image Processing, Computer Vision and Pattern Recognition Representation and Description SLIDE 41
Relational descriptors
Relationship: inside of …
CT036-3-3-IPPR: Image Processing, Computer Vision and Pattern Recognition Representation and Description SLIDE 42
Reference
CT036-3-3-IPPR: Image Processing, Computer Vision and Pattern Recognition Representation and Description SLIDE 43
Question and Answer Session
Q&A
CT036-3-3-IPPR: Image Processing, Computer Vision and Pattern Recognition Representation and Description SLIDE 44