SlideShare a Scribd company logo
Representation and
Description
for image Processing
Segmentation
Raw data (pixels) Representations
Computation of descriptors
external characteristics
(boundary)
internal characteristics
(pixels comprising the region)
shape
characteristics
regional
properties
such as color &
texture
Is invariance needed?
 Chain Codes
 Polygonal Approximations
– Minimum perimeter polygons
– Merging techniques
– Splitting techniques
 Signatures
 Boundary Segments
 Skeletons
Technique of representation
Chain Codes
Problem1:
- Long chains of codes
- Easily disturbed by noise, and
sidetracked
Solution:
- Resampling using larger grid
spacing
Problem2:
- start point
Solution:
- Normalizations
Before resample: 000000766…1111
After resampling: 076666…12
• normalized
– circular sequence
– Ex. First difference of 4-direction chain code 10103322 is
3133030.
– 2 10103322
– 33133030
Representation image
Polygonal Approximations
• Determine which points on the boundary to use
• Minimum perimeter polygons
o Choose an appropriate grid
- The boundary is enclosed by a set of concatenated cells
o Allow the boundary to shrink as a rubber band
 The maximum error per grid cell is √2d, where d is the
dimension of a grid cell
Representation image
Merging Techniques
• least square error line fit
1. Merge points along a boundary until the least square
error line fit of the points merged so far exceeds a
threshold
2. Record the the two end point of the line
3. Repeat Steps 1 and 2 until all boundary points are
processed .
Representation image
problem
• Merging technique problem:
– No guarantee for corner detection
• Solution:
– Splitting: to subdivide a segment successively into two parts
until a given criterion is satisfied.
– Objective: seeking prominent inflection points.
Splitting techniques:
1. Start with an initial guess, e.g., based on majority axes
2. Calculate the orthogonal distance from lines to all points
3. If maximum distance > threshold, create new vertex there
4. Repeat until no points exceed criterion
Representation image
Signatures
• Signature: a 1D functional representation of a boundary
• To generate:
– Plot the distance from the centroid to the boundary as a
function of angles.
• The signature is often unique for a region
– We can distinguish the region by its signature
• Independent of translation, but not rotation & scaling .
Representation image
• r(ϴ)= D/cos ϴ 0<= ϴ<60
• = D/cos(120- ϴ) 60<= ϴ<120
• = D/cos(180- ϴ) 120<= ϴ<180
• = D/cos(240- ϴ) 180<= ϴ<240
• = D/cos(300- ϴ) 240<= ϴ<300
• = D/cos(360- ϴ) 300<= ϴ<360
Representation image
Boundary segments
• The boundary can be decomposed into segments.
– Useful to extract information from concave ‫تقعر‬ parts of the objects.
• A good way to achieve this is to calculate the convex Hull of the
region enclosed by the boundary Hull
• Can be a bit noise sensitive
1. Smooth prior to Convex hull calculation
2. Calculate Convex Hull on polygon approximation
Skeletons
• To reduce a plane region to a graph
- by e.g. obtaining the skeleton of the region via thinning.
• Find medial axis transformation (MAT):
 The MAT of region R with border B is found as:
• For each point p in R, we find its closest neighbor in B.
• If p has more than one such neighbor, it belongs to the Medial Axis.
• Assume foreground pixels = “1” , Background = “0”
• 1st pass
 Flag a contour point p for deletion if the following conditions are satisfied:
• (a) 2 <= N(p1) <= 6
• (b) T(p1) = 1;
• (c) p2 * p4 * p6 = 0 11.1.1
• (d) p4 * p6 * p8 = 0
 N(p1) is the number of nonzero neighbors of p1
 T(p1) is the number of 0-1 transitions in the ordered sequence of p2, p3, . . . , p8,
p9,p2.
 If (a) – (d) are not violated, the point is marked for deletion
• Points are not deleted until the end of the pass
• This way the data stays intact until the pass is complete
Thinning Algorithm
0 0 1
1 p1 0
1 0 1
p2
p4
p6
p4
p6
p8
• 2nd pass
• Conditions (a) and (b) are the same as the 1st pass
• (c) and (d) are different [call these (c’) and (d’)]:
– (c’) p2 * p4 * p8 = 0
– (d’) p2 * p6 * p8 = 0
• Delete all points that are flagged from the 2nd pass
 Repeat 1st pass and 2nd pass until no contour point is deleted
during an iteration
p4p8
p2
p2
p6
p8
Examples
NO
NO
• In the first case
• N(p) = 5, S(p) = 1, p2 · p4 · p6 = 0, and p4 · p6 · p8 = 0, then p is flagged
for deletion.
• In the second case
• N(p) = 1, so( 2 :5 N(p,) <0 6) is violated and p is left unchanged.
• In the third case
• p2 · p4 · p6 = 1
and p4 · p6 · p8 = 1, so conditions (p2 · p4 · p6 = 0) and (p4 · p6 · p8 = 0)
violated and p is left unchanged.
• In the forth case
• S(p) = 2, so condition (T ( p l) = 1) is violated and p is left unchange
Representation image

More Related Content

PPTX
Image Representation & Descriptors
PPTX
Dilation and erosion
PPTX
Image compression 14_04_2020 (1)
PPTX
Image Enhancement using Frequency Domain Filters
PPTX
Image representation
PPTX
Digital image processing- Compression- Different Coding techniques
PPTX
Object recognition
PDF
Digital Image Processing: Digital Image Fundamentals
Image Representation & Descriptors
Dilation and erosion
Image compression 14_04_2020 (1)
Image Enhancement using Frequency Domain Filters
Image representation
Digital image processing- Compression- Different Coding techniques
Object recognition
Digital Image Processing: Digital Image Fundamentals

What's hot (20)

PPTX
Chain code in dip
PDF
Image Registration (Digital Image Processing)
PPTX
IMAGE SEGMENTATION.
PPTX
Gray level transformation
PPTX
Chapter 9 morphological image processing
PPT
Image segmentation
PDF
PPTX
Chapter 1 and 2 gonzalez and woods
PPT
Chapter 5 Image Processing: Fourier Transformation
PPTX
Chapter 9 morphological image processing
PPTX
COM2304: Intensity Transformation and Spatial Filtering – I (Intensity Transf...
PDF
Basic Steps of Video Processing - unit 4 (2).pdf
PPTX
IMAGE SEGMENTATION TECHNIQUES
PPT
Chapter10 image segmentation
PPTX
Morphological image processing
PPSX
Edge Detection and Segmentation
PPTX
Bit plane coding
PPTX
Image transforms
PPT
Lec 07 image enhancement in frequency domain i
Chain code in dip
Image Registration (Digital Image Processing)
IMAGE SEGMENTATION.
Gray level transformation
Chapter 9 morphological image processing
Image segmentation
Chapter 1 and 2 gonzalez and woods
Chapter 5 Image Processing: Fourier Transformation
Chapter 9 morphological image processing
COM2304: Intensity Transformation and Spatial Filtering – I (Intensity Transf...
Basic Steps of Video Processing - unit 4 (2).pdf
IMAGE SEGMENTATION TECHNIQUES
Chapter10 image segmentation
Morphological image processing
Edge Detection and Segmentation
Bit plane coding
Image transforms
Lec 07 image enhancement in frequency domain i
Ad

Viewers also liked (20)

PPTX
Image feature extraction
PPT
Digital Image Processing
PPTX
Features image processing and Extaction
PPTX
How to Measure RTOS Performance
PDF
Rtos ameba
PPTX
INTERRUPT ROUTINES IN RTOS EN VIRONMENT HANDELING OF INTERRUPT SOURCE CALLS
PPTX
Object recognition
PDF
Journal of Image Processing & Pattern Recognition Progress vol 3 issue 3
PDF
AAAI08 tutorial: visual object recognition
PDF
Object Detection and Recognition
PPT
Presentation Object Recognition And Tracking Project
PPTX
comparision of lossy and lossless image compression using various algorithm
PPTX
Feature Extraction
PPT
Feature Extraction and Principal Component Analysis
PPTX
Object Detection & Tracking
PPSX
Actuators er.sanyam s. saini (me regular)
PDF
Feature Extraction
PPT
Dip Image Segmentation
PPT
Image compression
PPT
Sensors & Actuators
Image feature extraction
Digital Image Processing
Features image processing and Extaction
How to Measure RTOS Performance
Rtos ameba
INTERRUPT ROUTINES IN RTOS EN VIRONMENT HANDELING OF INTERRUPT SOURCE CALLS
Object recognition
Journal of Image Processing & Pattern Recognition Progress vol 3 issue 3
AAAI08 tutorial: visual object recognition
Object Detection and Recognition
Presentation Object Recognition And Tracking Project
comparision of lossy and lossless image compression using various algorithm
Feature Extraction
Feature Extraction and Principal Component Analysis
Object Detection & Tracking
Actuators er.sanyam s. saini (me regular)
Feature Extraction
Dip Image Segmentation
Image compression
Sensors & Actuators
Ad

Similar to Representation image (20)

PPTX
representation.pptx
PDF
Chap_9_Representation_and_Description.pdf
PDF
Unit-7 Representation and Description.pdf
PPT
DIP_14_54_boundary extraction in dip .ppt
PDF
UNIT-4.pdf image processing btech aktu notes
PPT
Chapter 2 Image Processing: Pixel Relation
DOCX
Computer graphics question for exam solved
PPT
digital imagesegmentation-191212120951.ppt
PDF
Two Dimensional Shape and Texture Quantification - Medical Image Processing
PPT
Fingerprint High Level Classification
PDF
IRJET- Extract Circular Object By Tracing Region Boundary and using Circulari...
PDF
IRJET- Extract Circular Object by Tracing Region Boundary and using Circulari...
PPT
regions
PPTX
boundary tracking-skeletons and cornerss
PPTX
Canny Edge & Image Representation.pptx
PDF
Manuscript document digitalization and recognition: a first approach
PDF
Edge linking hough transform
PPT
PPTX
On the Convex Layers of a Planer Dynamic Set of Points
PPTX
An Algorithm to Find the Visible Region of a Polygon
representation.pptx
Chap_9_Representation_and_Description.pdf
Unit-7 Representation and Description.pdf
DIP_14_54_boundary extraction in dip .ppt
UNIT-4.pdf image processing btech aktu notes
Chapter 2 Image Processing: Pixel Relation
Computer graphics question for exam solved
digital imagesegmentation-191212120951.ppt
Two Dimensional Shape and Texture Quantification - Medical Image Processing
Fingerprint High Level Classification
IRJET- Extract Circular Object By Tracing Region Boundary and using Circulari...
IRJET- Extract Circular Object by Tracing Region Boundary and using Circulari...
regions
boundary tracking-skeletons and cornerss
Canny Edge & Image Representation.pptx
Manuscript document digitalization and recognition: a first approach
Edge linking hough transform
On the Convex Layers of a Planer Dynamic Set of Points
An Algorithm to Find the Visible Region of a Polygon

Recently uploaded (20)

PDF
Sciences of Europe No 170 (2025)
PDF
MIRIDeepImagingSurvey(MIDIS)oftheHubbleUltraDeepField
PPTX
SCIENCE10 Q1 5 WK8 Evidence Supporting Plate Movement.pptx
PDF
Biophysics 2.pdffffffffffffffffffffffffff
PPT
Chemical bonding and molecular structure
PDF
HPLC-PPT.docx high performance liquid chromatography
PPT
protein biochemistry.ppt for university classes
PPTX
Vitamins & Minerals: Complete Guide to Functions, Food Sources, Deficiency Si...
PPTX
2. Earth - The Living Planet Module 2ELS
PPTX
TOTAL hIP ARTHROPLASTY Presentation.pptx
PPTX
microscope-Lecturecjchchchchcuvuvhc.pptx
PPTX
Cell Membrane: Structure, Composition & Functions
PDF
Phytochemical Investigation of Miliusa longipes.pdf
PDF
The scientific heritage No 166 (166) (2025)
PDF
An interstellar mission to test astrophysical black holes
PPTX
INTRODUCTION TO EVS | Concept of sustainability
PDF
diccionario toefl examen de ingles para principiante
PDF
VARICELLA VACCINATION: A POTENTIAL STRATEGY FOR PREVENTING MULTIPLE SCLEROSIS
PDF
SEHH2274 Organic Chemistry Notes 1 Structure and Bonding.pdf
PPTX
Introduction to Fisheries Biotechnology_Lesson 1.pptx
Sciences of Europe No 170 (2025)
MIRIDeepImagingSurvey(MIDIS)oftheHubbleUltraDeepField
SCIENCE10 Q1 5 WK8 Evidence Supporting Plate Movement.pptx
Biophysics 2.pdffffffffffffffffffffffffff
Chemical bonding and molecular structure
HPLC-PPT.docx high performance liquid chromatography
protein biochemistry.ppt for university classes
Vitamins & Minerals: Complete Guide to Functions, Food Sources, Deficiency Si...
2. Earth - The Living Planet Module 2ELS
TOTAL hIP ARTHROPLASTY Presentation.pptx
microscope-Lecturecjchchchchcuvuvhc.pptx
Cell Membrane: Structure, Composition & Functions
Phytochemical Investigation of Miliusa longipes.pdf
The scientific heritage No 166 (166) (2025)
An interstellar mission to test astrophysical black holes
INTRODUCTION TO EVS | Concept of sustainability
diccionario toefl examen de ingles para principiante
VARICELLA VACCINATION: A POTENTIAL STRATEGY FOR PREVENTING MULTIPLE SCLEROSIS
SEHH2274 Organic Chemistry Notes 1 Structure and Bonding.pdf
Introduction to Fisheries Biotechnology_Lesson 1.pptx

Representation image

  • 2. Segmentation Raw data (pixels) Representations Computation of descriptors external characteristics (boundary) internal characteristics (pixels comprising the region) shape characteristics regional properties such as color & texture
  • 4.  Chain Codes  Polygonal Approximations – Minimum perimeter polygons – Merging techniques – Splitting techniques  Signatures  Boundary Segments  Skeletons Technique of representation
  • 5. Chain Codes Problem1: - Long chains of codes - Easily disturbed by noise, and sidetracked Solution: - Resampling using larger grid spacing Problem2: - start point Solution: - Normalizations Before resample: 000000766…1111 After resampling: 076666…12
  • 6. • normalized – circular sequence – Ex. First difference of 4-direction chain code 10103322 is 3133030. – 2 10103322 – 33133030
  • 8. Polygonal Approximations • Determine which points on the boundary to use • Minimum perimeter polygons o Choose an appropriate grid - The boundary is enclosed by a set of concatenated cells o Allow the boundary to shrink as a rubber band  The maximum error per grid cell is √2d, where d is the dimension of a grid cell
  • 10. Merging Techniques • least square error line fit 1. Merge points along a boundary until the least square error line fit of the points merged so far exceeds a threshold 2. Record the the two end point of the line 3. Repeat Steps 1 and 2 until all boundary points are processed .
  • 12. problem • Merging technique problem: – No guarantee for corner detection • Solution: – Splitting: to subdivide a segment successively into two parts until a given criterion is satisfied. – Objective: seeking prominent inflection points.
  • 13. Splitting techniques: 1. Start with an initial guess, e.g., based on majority axes 2. Calculate the orthogonal distance from lines to all points 3. If maximum distance > threshold, create new vertex there 4. Repeat until no points exceed criterion
  • 15. Signatures • Signature: a 1D functional representation of a boundary • To generate: – Plot the distance from the centroid to the boundary as a function of angles. • The signature is often unique for a region – We can distinguish the region by its signature • Independent of translation, but not rotation & scaling .
  • 17. • r(ϴ)= D/cos ϴ 0<= ϴ<60 • = D/cos(120- ϴ) 60<= ϴ<120 • = D/cos(180- ϴ) 120<= ϴ<180 • = D/cos(240- ϴ) 180<= ϴ<240 • = D/cos(300- ϴ) 240<= ϴ<300 • = D/cos(360- ϴ) 300<= ϴ<360
  • 19. Boundary segments • The boundary can be decomposed into segments. – Useful to extract information from concave ‫تقعر‬ parts of the objects. • A good way to achieve this is to calculate the convex Hull of the region enclosed by the boundary Hull • Can be a bit noise sensitive 1. Smooth prior to Convex hull calculation 2. Calculate Convex Hull on polygon approximation
  • 20. Skeletons • To reduce a plane region to a graph - by e.g. obtaining the skeleton of the region via thinning. • Find medial axis transformation (MAT):  The MAT of region R with border B is found as: • For each point p in R, we find its closest neighbor in B. • If p has more than one such neighbor, it belongs to the Medial Axis.
  • 21. • Assume foreground pixels = “1” , Background = “0” • 1st pass  Flag a contour point p for deletion if the following conditions are satisfied: • (a) 2 <= N(p1) <= 6 • (b) T(p1) = 1; • (c) p2 * p4 * p6 = 0 11.1.1 • (d) p4 * p6 * p8 = 0  N(p1) is the number of nonzero neighbors of p1  T(p1) is the number of 0-1 transitions in the ordered sequence of p2, p3, . . . , p8, p9,p2.  If (a) – (d) are not violated, the point is marked for deletion • Points are not deleted until the end of the pass • This way the data stays intact until the pass is complete Thinning Algorithm 0 0 1 1 p1 0 1 0 1 p2 p4 p6 p4 p6 p8
  • 22. • 2nd pass • Conditions (a) and (b) are the same as the 1st pass • (c) and (d) are different [call these (c’) and (d’)]: – (c’) p2 * p4 * p8 = 0 – (d’) p2 * p6 * p8 = 0 • Delete all points that are flagged from the 2nd pass  Repeat 1st pass and 2nd pass until no contour point is deleted during an iteration p4p8 p2 p2 p6 p8
  • 24. • In the first case • N(p) = 5, S(p) = 1, p2 · p4 · p6 = 0, and p4 · p6 · p8 = 0, then p is flagged for deletion. • In the second case • N(p) = 1, so( 2 :5 N(p,) <0 6) is violated and p is left unchanged. • In the third case • p2 · p4 · p6 = 1 and p4 · p6 · p8 = 1, so conditions (p2 · p4 · p6 = 0) and (p4 · p6 · p8 = 0) violated and p is left unchanged. • In the forth case • S(p) = 2, so condition (T ( p l) = 1) is violated and p is left unchange