Title: Presentacin de PowerPoint
1MATHEMATICAL MORPHOLOGY
- INTRODUCTION
- BINARY MORPHOLOGY
- GREY-LEVEL MORPHOLOGY
2INTRODUCTION
- Mathematical morphology
- Self-sufficient framework for image processing
and analysis, created at the École des Mines
(Fontainebleau) in 70s by Jean Serra, Georges
Mathéron, from studies in science materials - Conceptually simple operations combined to define
others more and more complex and powerful - Simple because operations often have geometrical
meaning - Powerful for image analysis
3INTRODUCTION
- Binary and grey-level images seen as sets
X
Xc
X (x, y, z) , z ? f (x,y)
f (x,y)
4INTRODUCTION
- Operations defined as interaction of images with
a special set, the structuring element
5MATHEMATICAL MORPHOLOGY
- INTRODUCTION
- BINARY MORPHOLOGY
- GREY-LEVEL MORPHOLOGY
6BINARY MORPHOLOGY
- Erosion and dilation
- Common structuring elements
- Opening, closing
- Properties
- Hit-or-miss
- Thinning, thickenning
- Other useful transforms
- Contour
- Convex-hull
- Skeleton
- Geodesic influence zones
7BINARY MORPHOLOGY
Notation
x
-2 -1 0 1 2
-2 -1 0 1 2
B
y
A special set the structuring element
Origin at center in this case, but not
necessarily centered nor symmetric
X
No necessarily compact nor filled
8BINARY MORPHOLOGY
Dilation x (x1,x2) such that if we center B
on them, then the so translated B
intersects X.
X
difference
B
9BINARY MORPHOLOGY
Dilation x (x1,x2) such that if we center B
on them, then the so translated B
intersects X. How to formulate this definition ?
1) Literal translation
2) Better from Minkowskis sum of sets
10BINARY MORPHOLOGY
Minkowskis sum of sets
l
l
11BINARY MORPHOLOGY
Dilation
l
Dilation
12BINARY MORPHOLOGY
Dilation is not the Minkowskis sum
l
13BINARY MORPHOLOGY
l
l
14BINARY MORPHOLOGY
Dilation with other structuring elements
15BINARY MORPHOLOGY
Dilation with other structuring elements
16BINARY MORPHOLOGY
Erosion x (x1,x2) such that if we center B on
them, then the so translated B is
contained in X.
difference
17BINARY MORPHOLOGY
Erosion x (x1,x2) such that if we center B on
them, then the so translated B is
contained in X. How to formulate this definition
? 1) Literal translation
2) Better from Minkowskis substraction of sets
18BINARY MORPHOLOGY
19BINARY MORPHOLOGY
Erosion with other structuring elements
20BINARY MORPHOLOGY
Erosion with other structuring elements
Did not belong to X
21BINARY MORPHOLOGY
Common structuring elements shapes
origin
x
y
circle
disk
segments 1 pixel wide
Note
points
22BINARY MORPHOLOGY
Problem
23BINARY MORPHOLOGY
24BINARY MORPHOLOGY
Problem
ltd/2
d/2
d
25BINARY MORPHOLOGY
Implementation very low computational cost
0
1 (or gt0)
Logical or
26BINARY MORPHOLOGY
Implementation very low computational cost
0
1
Logical and
27BINARY MORPHOLOGY
Opening
also
difference
- Supresses
- small islands
- ithsmus (narrow unions)
- narrow caps
28BINARY MORPHOLOGY
Opening with other structuring elements
29BINARY MORPHOLOGY
Closing
also
- Supresses
- small lakes (holes)
- channels (narrow separations)
- narrow bays
30BINARY MORPHOLOGY
Closing with other structuring elements
31BINARY MORPHOLOGY
Application shape smoothing and noise filtering
32BINARY MORPHOLOGY
Application segmentation of microstructures
(Matlab Help)
33BINARY MORPHOLOGY
- Properties
- all of them are increasing
- opening and closing are idempotent
34BINARY MORPHOLOGY
- dilation and closing are extensive erosion and
opening are anti-extensive
35BINARY MORPHOLOGY
- duality of erosion-dilation, opening-closing,...
36BINARY MORPHOLOGY
- structuring elements decomposition
operations with big structuring elements can be
done by a succession of operations with small
s.es
37BINARY MORPHOLOGY
Hit-or-miss
Bi-phase structuring element
Hit part (white)
Miss part (black)
38BINARY MORPHOLOGY
Looks for pixel configurations
background
foreground
doesnt matter
39BINARY MORPHOLOGY
isolated points at4 connectivity
40BINARY MORPHOLOGY
Thinning
Thickenning
- Depending on the structuring elements (actually,
series - of them), very different results can be achieved
- Prunning
- Skeletons
- Zone of influence
- Convex hull
- ...
41BINARY MORPHOLOGY
Prunning at 4 connectivity remove end points by
a sequence of thinnings
1 iteration
42BINARY MORPHOLOGY
1st iteration
2nd iteration
3rd iteration idempotence
43BINARY MORPHOLOGY
What does the following sequence ?
doesnt matter
background
foreground
44BINARY MORPHOLOGY
- Erosion and dilation
- Common structuring elements
- Opening, closing
- Properties
- Hit-or-miss
- Thinning, thickenning
- Other useful transforms
- Contour
- Convex-hull
- Skeleton
- Geodesic influence zones
45BINARY MORPHOLOGY
i. Contours of binary regions
46BINARY MORPHOLOGY
Important for perimeter computation.
47BINARY MORPHOLOGY
ii. Convex hull union of thickenings, each up
to idempotence
48BINARY MORPHOLOGY
49BINARY MORPHOLOGY
iii. Skeleton
Maximal disk disk centered at x, Dx, such that
Dx ? X and no other Dy contains it . Skeleton
union of centers of maximal disks.
50BINARY MORPHOLOGY
- Problems
- Instability infinitessimal variations in the
border of X - cause large deviations of the skeleton
- not necessarily connex even though X connex
- good approximations provided by thinning with
- special series of structuring elements
51BINARY MORPHOLOGY
1st iteration
52BINARY MORPHOLOGY
result of 1st iteration
2nd iteration reaches idempotence
53BINARY MORPHOLOGY
20 iterations thinning
40 iterations thickening
54BINARY MORPHOLOGY
Application skeletonization for OCR by graph
matching
55BINARY MORPHOLOGY
Application skeletonization for OCR by graph
matching
56BINARY MORPHOLOGY
iv. Geodesic zones of influence
X set of n connex components Xi, i1..n . The
zone of influence of Xi , Z(Xi) , is the set
of points closer to some point of Xi than to a
point of any other component. Also, Voronoi
partition. Dual to skeleton.
57BINARY MORPHOLOGY
58BINARY MORPHOLOGY
59BINARY MORPHOLOGY
60BINARY MORPHOLOGY
61BINARY MORPHOLOGY
62BINARY MORPHOLOGY
63BINARY MORPHOLOGY
dist