Morphology
Morphology
John Goutsias
Department of Electrical and Computer Engineering
Image Analysis and Communications Laboratory
The Johns Hopkins University
Baltimore, MD 21218
Question
2
A Commercial Answer
3
An (imprecise) Mathematical Answer
4
Shape Processing and Analysis
5
Example
Binary Images
6
Morphological Shape Operators
X1 X2 X1 X2
X1 X2 X2 \ X1 X1c X2
7
Morphological Shape Operators
Morphological
Dilation
( X1 X2 ) = ( X1 ) ( X2 )
Morphological
Erosion
( X1 X2 ) = ( X1 ) ( X2 )
8
Morphological Operators
9
Question
10
A (precise) Mathematical Answer
Algebra Topology
Complete Lattices Hit-or-Miss
Mathematical
Morphology
Geometry
Operators
Convexity - Connectivity
Erosions-Dilations
Distance
Applications
Image Processing
and Analysis
AAmathematical
mathematicaltool
toolthat
thatstudies
studiesoperators
operatorson
on
complete
completelattices
lattices
11
Some History
12
Translation Invariant Operators
Xh
h
( Xh ) = [ ( X )]h
X
13
Morphological Erosion
( X ) = X B { h | Bh X }
14
Morphological Erosion
( X ) = X B { h | Bh X }
Bh
X
X B
15
Morphological Erosion
Structuring
Element
16
Morphological Dilation
( X ) = X B {h | Bh X }
17
Morphological Dilation
( X ) = X B {h | Bh X }
Bh
XB
X
18
Morphological Dilation
Structuring
Element
19
Morphological Opening
X B = ( X B) B
{Bh | Bh X}
X B = ( X B) B X
X B
Bh
20
Morphological Opening
Structuring
Element
21
Morphological Opening
Is a smoothing filter !
X B X
22
Filtering Example
ORIGINAL DEGRADED
FILTERED 23
An Important Result
Increasing
Operator
X1 X2 ( X1 ) ( X2 )
+
Translation
Invariant ( Xh ) = [( X )]h
Operator
( X ) = X B X B
B B
!!
24
Main Idea
25
Question
26
Grayscale Erosion
TRANSLATION INVARIANCE
MINIMUM
27
Grayscale Dilation
TRANSLATION INVARIANCE
MAXIMUM
28
Remark
R
B( x ) S
0, for x B
T, otherwise
Flat
Erosion
F B( x) F(h)
h Bx
Flat
Dilation
F B( x) F (h)
h Bx
29
Grayscale Morphology
ORIGINAL EROSION
DILATION OPENING
30
Grayscale Opening
Structuring
Element
31
Question
Can
Canweweautomatically
automaticallyextract
extractthe
thelargest
largest
connected
connectedcomponent
component(the(thewoman’s
woman’s
body)
body)in
inthis
thisimage
image??
32
Answer
ORIGINAL
(MARKER B) ORIGINAL
MARKER
size and shape
MARKER
MARKER
MARKER
CONNECTED OPERATORS !!
33
An Application - Target Detection
DATA
Targets
MORPHOLOGICAL RECONSTRUCTION
OPENING
MARKER
34
An Application: Target Detection
DATA
MORPHOLOGICAL RECONSTRUCTION
CLOSING
MARKER
35
An Application: Target Detection
DATA
FINAL RESULT
THRESHOLDING
36
The End
37