Professional Documents
Culture Documents
www.imageprocessingbook.com
A B
(9.1 3)
C = A B
2002 R. C. Gonzalez & R. E. Woods
(9.1 4)
www.imageprocessingbook.com
D = A B
(9.1.5)
A B =
(9.1.6)
www.imageprocessingbook.com
Chapter 9
Morphological Image Processing
www.imageprocessingbook.com
A = { A}
(9.1 7)
A B = { A, B} = A B
(9.1 8)
www.imageprocessingbook.com
B = { = b, for b B}
(9.1 9)
(9.1 10)
www.imageprocessingbook.com
Chapter 9
Morphological Image Processing
www.imageprocessingbook.com
Chapter 9
Morphological Image Processing
www.imageprocessingbook.com
Chapter 9
Morphological Image Processing
www.imageprocessingbook.com
A B = z
B A
z
(9.2 1)
www.imageprocessingbook.com
A B = z
( B ) A
z
] A
(9.2 2)
www.imageprocessingbook.com
Chapter 9
Morphological Image Processing
www.imageprocessingbook.com
9.2.2 Erosion
The erosion of A by B, denoted AB ,is defined as
AB = z ( B ) z A
(9.2 3)
www.imageprocessingbook.com
Chapter 9
Morphological Image Processing
www.imageprocessingbook.com
Chapter 9
Morphological Image Processing
www.imageprocessingbook.com
Chapter 9
Morphological Image Processing
www.imageprocessingbook.com
www.imageprocessingbook.com
A o B = ( AB) B
(9.3 1)
A B = ( A B)B
2002 R. C. Gonzalez & R. E. Woods
(9.3 2)
www.imageprocessingbook.com
Chapter 9
Morphological Image Processing
www.imageprocessingbook.com
Chapter 9
Morphological Image Processing
www.imageprocessingbook.com
Chapter 9
Morphological Image Processing
www.imageprocessingbook.com
www.imageprocessingbook.com
Chapter 9
Morphological Image Processing
www.imageprocessingbook.com
www.imageprocessingbook.com
A * B = ( AB1 ) A B2
(9.4 1)
(9.4 3)
www.imageprocessingbook.com
Chapter 9
Morphological Image Processing
www.imageprocessingbook.com
www.imageprocessingbook.com
9.5
Some Basic Morphological Algorithms
We are now ready to consider some practical uses of
morphology.
In particular, we consider morphological algorithms
for extracting boundaries, connected components, the
convex hull, and the skeleton of a region.
( A) = A ( AB)
(9.5 1)
www.imageprocessingbook.com
Chapter 9
Morphological Image Processing
www.imageprocessingbook.com
Chapter 9
Morphological Image Processing
www.imageprocessingbook.com
Conditional dilation
k = 1, 2,3....(9.5 2)
www.imageprocessingbook.com
Chapter 9
Morphological Image Processing
www.imageprocessingbook.com
www.imageprocessingbook.com
Chapter 9
Morphological Image Processing
www.imageprocessingbook.com
Chapter 9
Morphological Image Processing
www.imageprocessingbook.com
Chapter 9
Morphological Image Processing
www.imageprocessingbook.com
C ( A) =
i =1
Di
(9 .5 5 )
www.imageprocessingbook.com
Chapter 9
Morphological Image Processing
www.imageprocessingbook.com
Chapter 9
Morphological Image Processing
9.5.5 Thinning
A B = A ( A * B)
(9.5 6)
www.imageprocessingbook.com
www.imageprocessingbook.com
9.5.6 Thickening
Thinning and is defined by the expression
A
B = A ( A * B)
(9.5 9)
{B} =
(((
(A
B1 )
) )
B 2 ...
Bn
(9.5 10)
www.imageprocessingbook.com
Chapter 9
Morphological Image Processing
www.imageprocessingbook.com
Chapter 9
Morphological Image Processing
www.imageprocessingbook.com
9.5.7 Skeletons
k
S ( A) = U S k ( A)
(9.5 11)
k =0
S k ( A) = ( AkB) ( AkB) o B
(9.5 12)
(9.5 14)
www.imageprocessingbook.com
A = U ( S k ( A) kB)
k =0
(9.5 15)
www.imageprocessingbook.com
Chapter 9
Morphological Image Processing
www.imageprocessingbook.com
Chapter 9
Morphological Image Processing
www.imageprocessingbook.com
9.5.8 Pruning
Pruning methods are an essential complement to
thinning and skeletonizing algorithms because these
procedures tend to leave parasitic components that
need to be cleaned up.
www.imageprocessingbook.com
Chapter 9
Morphological Image Processing
www.imageprocessingbook.com
Chapter 9
Morphological Image Processing
www.imageprocessingbook.com
Chapter 9
Morphological Image Processing
www.imageprocessingbook.com
Chapter 9
Morphological Image Processing
www.imageprocessingbook.com
Chapter 9
Morphological Image Processing
www.imageprocessingbook.com
Chapter 9
Morphological Image Processing
www.imageprocessingbook.com
(s x),(t y) Df ;
( f b)(s, t) = max f (s x, t y) + b(x, y)
(9.6 1)
(x, y) Db
www.imageprocessingbook.com
Chapter 9
Morphological Image Processing
www.imageprocessingbook.com
www.imageprocessingbook.com
9.6.2 Erosion
(s + x),(t + y) Df ;
( f b)(s, t) = min f (s + x, t + y) b(x, y)
(9.6 2)
(x, y) Db
www.imageprocessingbook.com
Chapter 9
Morphological Image Processing
www.imageprocessingbook.com
www.imageprocessingbook.com
Chapter 9
Morphological Image Processing
f o b = ( f b) b
f b = ( f b)b
( f b) = f o b
c
(9.6 4)
(9.6 5)
(9.6 6)
www.imageprocessingbook.com
www.imageprocessingbook.com
Chapter 9
Morphological Image Processing
www.imageprocessingbook.com
www.imageprocessingbook.com
www.imageprocessingbook.com
Chapter 9
Morphological Image Processing
www.imageprocessingbook.com
www.imageprocessingbook.com
Chapter 9
Morphological Image Processing
www.imageprocessingbook.com
Chapter 9
Morphological Image Processing
www.imageprocessingbook.com
Chapter 9
Morphological Image Processing
www.imageprocessingbook.com
Chapter 9
Morphological Image Processing
www.imageprocessingbook.com
Chapter 9
Morphological Image Processing