Chapter 9: Morphological Image Processing
Digital Image Processing
Mathematic Morphology
2
Mathematic Morphology
mathematical framework used for:
3
Z2 and Z3
4
Basic Set Theory
5
Reflection and Translation
6
Logic Operations
7
Example
8
Structuring element (SE)
9
properties for the objects
Basic idea
10
How to describe SE
11
Basic morphological operations
12
keep general shape but smooth with respect to
Erosion
erosion of a set A by structuring element B: all z in A such that B is in A when origin of B=z
shrink the object
13
14
Erosion
Erosion
15
Erosion
16
Erosion
17
Dilation
18
Dilation
19
Dilation
20
Dilation
21
Dilation
22
B = structuring element
Dilation : Bridging gaps
23
useful
24
Combining erosion and dilation
25
Erosion : eliminating irrelevant detail
26
structuring element B = 13x13 pixels of gray level 1
Opening
erosion followed by dilation, denoted ∘
27
Opening
28
Opening
29
Opening
30
Closing
dilation followed by erosion, denoted •
31
Closing
32
Closing
33
Closing
34
Properties
35
Opening
Closing
Note: repeated openings/closings has no effect!
Duality
36
37
38
Useful: open & close
39
Application: filtering
40
Hit-or-Miss Transformation ⊛ (HMT)
41
Hit-or-Miss Transformation
42
Boundary Extraction
43
Example
44
Region Filling
45
Example
46
Extraction of connected components
47
Example
48
Convex hull
49
50
Thinning
51
Thickening
52
Skeletons
53
54
Pruning
55
H = 3x3 structuring element of 1’s
56
57
58
59
5 basic structuring elements
60