SlideShare a Scribd company logo
Chapter 9: Morphological
Image Processing
Digital Image Processing
2
Mathematic Morphology
 used to extract image components that are
useful in the representation and description of
region shape, such as
 boundaries extraction
 skeletons
 convex hull
 morphological filtering
 thinning
 pruning
3
Mathematic Morphology
mathematical framework used for:
 pre-processing
 noise filtering, shape simplification, ...
 enhancing object structure
 skeletonization, convex hull...
 Segmentation
 watershed,…
 quantitative description
 area, perimeter, ...
4
Z2
and Z3
 set in mathematic morphology represent
objects in an image
 binary image (0 = white, 1 = black) : the
element of the set is the coordinates (x,y)
of pixel belong to the object  Z2
 gray-scaled image : the element of the set
is the coordinates (x,y) of pixel belong to the
object and the gray levels  Z3
5
Basic Set Theory
6
Reflection and Translation
}
,
|
{
ˆ B
for b
b
w
w
B 



}
,
|
{
)
( A
for a
z
a
c
c
A z 



7
Logic Operations
8
Example
Structuring element (SE)
9
 small set to probe the image under study
 for each SE, define origo
 shape and size must be adapted to geometric
properties for the objects
Basic idea
 in parallel for each pixel in binary image:
 check if SE is ”satisfied”
 output pixel is set to 0 or 1 depending on
used operation
10
How to describe SE
 many different ways!
 information needed:
 position of origo for SE
 positions of elements belonging to SE
11
Basic morphological operations
 Erosion
 Dilation
 combine to
 Opening object
 Closening background
12
keep general shape but
smooth with respect to
Erosion
 Does the structuring element fit the
set?
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
}
{ A
z|(B)
B
A z 


14
Erosion
Erosion
15
Erosion
16
17
Erosion
}
{ A
z|(B)
B
A z 


Dilation
 Does the structuring element hit the set?
 dilation of a set A by structuring element
B: all z in A such that B hits A when origin
of B=z
 grow the object
18
}
ˆ
{ Φ
A
)
B
z|(
B
A z 



Dilation
19
Dilation
20
Dilation
21
22
Dilation
}
ˆ
{ Φ
A
)
B
z|(
B
A z 



B = structuring element
23
Dilation : Bridging gaps
useful
 erosion
 removal of structures of certain shape and
size, given by SE
 Dilation
 filling of holes of certain shape and size,
given by SE
24
Combining erosion and
dilation
 WANTED:
 remove structures / fill holes
 without affecting remaining parts
 SOLUTION:
 combine erosion and dilation
 (using same SE)
25
26
Erosion : eliminating irrelevant
detail
structuring element B = 13x13 pixels of gray level 1
Opening
erosion followed by dilation, denoted ∘
 eliminates protrusions
 breaks necks
 smoothes contour
27
B
B
A
B
A 

 )
(

Opening
28
Opening
29
30
Opening
B
B
A
B
A 

 )
(

}
)
(
|
)
{( A
B
B
B
A z
z 



Closing
dilation followed by erosion, denoted •
 smooth contour
 fuse narrow breaks and long thin gulfs
 eliminate small holes
 fill gaps in the contour
31
B
B
A
B
A 


 )
(
Closing
32
Closing
33
34
Closing
B
B
A
B
A 


 )
(
35
Properties
Opening
(i) AB is a subset (subimage) of A
(ii) If C is a subset of D, then C B is a subset of D B
(iii) (A B) B = A B
Closing
(i) A is a subset (subimage) of AB
(ii) If C is a subset of D, then C B is a subset of D B
(iii) (A B) B = A B
Note: repeated openings/closings has no effect!
Duality
 Opening and closing are dual with respect
to complementation and reflection
36
)
ˆ
(
)
( B
A
B
A c
c



37
38
Useful: open & close
39
Application: filtering
40
Hit-or-Miss Transformation
(HMT)
⊛
 find location of one shape among a set of shapes
”template matching
 composite SE: object part (B1) and background
part (B2)
 does B1 fits the object while, simultaneously,
B2 misses the object, i.e., fits the background?
41
42
Hit-or-Miss Transformation
)]
(
[
)
( X
W
A
X
A
B
A c






43
Boundary Extraction
)
(
)
( B
A
A
A 



44
Example
45
Region Filling
,...
3
,
2
,
1
)
( 1 


  k
A
B
X
X c
k
k
46
Example
47
Extraction of connected
components
48
Example
Convex hull
 A set A is is
said to be
convex if
the straight
line segment
joining any
two points
in A lies
entirely
within A.
i
i
D
A
C
4
1
)
(



,...
3
,
2
,
1
and
4
,
3
,
2
,
1
)
( 



 k
i
A
B
X
X i
i
k
i
k
49
50
51
Thinning
c
B
A
A
B
A
A
B
A
)
(
)
(







52
Thickening
)
( B
A
A
B
A 



53
Skeletons
K
k
k A
S
A
S
0
)
(
)
(



B
kB
A
kB
A
A
Sk 
)
(
)
(
)
( 



}
)
(
|
max{ 


 kB
A
k
K
)
)
(
(
0
kB
A
S
A k
K
k




54
55
Pruning
}
{
1 B
A
X 

A
H
X
X 

 )
( 2
3
3
1
4 X
X
X 

H = 3x3 structuring element of 1’s
)
( 1
8
1
2
k
k
B
X
X 



56
57
58
59
60
5 basic structuring elements

More Related Content

PPT
morphological image processing
PDF
Morphological.pdf
PDF
Morphological image processing motes.pdf
PPTX
Chapter 9 morphological image processing
PPTX
Chapter 9 morphological image processing
PPTX
Chapter 9 morphological image processing
PPT
Lec07-CH9-MORPHOL [Recovered].ppt
morphological image processing
Morphological.pdf
Morphological image processing motes.pdf
Chapter 9 morphological image processing
Chapter 9 morphological image processing
Chapter 9 morphological image processing
Lec07-CH9-MORPHOL [Recovered].ppt

Similar to Chapter_9_Morphological_Image_Processing.ppt (20)

PPT
dokumen.tips_computer-graphics-image-processing-chapter-9-computer-graphics-i...
PPT
4_14755_CS213_20172018_1__2_1_Lecture_5.ppt
PPTX
Chapter 9 newer
PPT
Morphology gonzalez-woods
PPTX
Lec7_AIP.pptx6666666666666666666666666666666666666666666666
PPTX
Morphological image processing basic.pptx
PPT
Morphological operations on digital image processing
PPT
EE 583-Lectursssse1sffgdhfdhgdhfdfdg0.ppt
PPTX
Morphological image processing
PPTX
Morphological Operations (2).pptx
PPT
morphological image processing
PPTX
Image morphology
PPTX
Morphological image Processing
PDF
Digital Image Processing- morphological processing ppt
PPT
Morphological Image Processing
PPTX
7 morphological-image-processing-combined
PDF
CV_Chap 3 Features Detection
PDF
661e432fd7a2bWeek6,7.pdf digital image processing
PPT
morphological tecnquies in image processing
PPTX
Unit 5 Morphological Image Processing Advanced Topics in Digital Image Proce...
dokumen.tips_computer-graphics-image-processing-chapter-9-computer-graphics-i...
4_14755_CS213_20172018_1__2_1_Lecture_5.ppt
Chapter 9 newer
Morphology gonzalez-woods
Lec7_AIP.pptx6666666666666666666666666666666666666666666666
Morphological image processing basic.pptx
Morphological operations on digital image processing
EE 583-Lectursssse1sffgdhfdhgdhfdfdg0.ppt
Morphological image processing
Morphological Operations (2).pptx
morphological image processing
Image morphology
Morphological image Processing
Digital Image Processing- morphological processing ppt
Morphological Image Processing
7 morphological-image-processing-combined
CV_Chap 3 Features Detection
661e432fd7a2bWeek6,7.pdf digital image processing
morphological tecnquies in image processing
Unit 5 Morphological Image Processing Advanced Topics in Digital Image Proce...
Ad

More from Iftikhar70 (20)

PPT
m1-intro artificial intelligence for .ppt
PPTX
introductioartificial intelligencen.pptx
PPT
dcscw07aetificial intelligence for 1.ppt
PPT
Ch1-2 (artificial intelligence for 3).ppt
PPTX
توظيف ادوات الذكاء الاصطناعي في البحث العلمي الاعلامي - saad kadhim.pptx
PPTX
introduction technology technology tec.pptx
PPT
cps270_game_playing technology intelligence.ppt
PPTX
10_2020_12_10!09_25_23_AM technology.pptx
PPT
14580hffggcdfghcfgvcsdvbcdgbvcdgg968.ppt
PPT
1424403vfdfdfghljhhggvgfggffgddgd6trf.ppt
PPT
12_2017_09_17!02_48_41_Aengerrings M.ppt
PPTX
امن سيبر اني للحوسبة في الجزء الثاني.pptx
PPT
Alhadeff cloud computing cyber technology.ppt
PPT
Introduction to artificial intelligence.ppt
PPTX
777137036 image processing bacherde.pptx
PPT
m1-intro artificial intelligence tec.ppt
PPT
cps270_intro artificial intelligence.ppt
PPT
cps270_game_playing artificial intelligence.ppt
PPTX
في الذكاء الاصطناعي وتقنيه المعلوماتالعملي.pptx
PPT
chapter5-2 restoration and depredations.ppt
m1-intro artificial intelligence for .ppt
introductioartificial intelligencen.pptx
dcscw07aetificial intelligence for 1.ppt
Ch1-2 (artificial intelligence for 3).ppt
توظيف ادوات الذكاء الاصطناعي في البحث العلمي الاعلامي - saad kadhim.pptx
introduction technology technology tec.pptx
cps270_game_playing technology intelligence.ppt
10_2020_12_10!09_25_23_AM technology.pptx
14580hffggcdfghcfgvcsdvbcdgbvcdgg968.ppt
1424403vfdfdfghljhhggvgfggffgddgd6trf.ppt
12_2017_09_17!02_48_41_Aengerrings M.ppt
امن سيبر اني للحوسبة في الجزء الثاني.pptx
Alhadeff cloud computing cyber technology.ppt
Introduction to artificial intelligence.ppt
777137036 image processing bacherde.pptx
m1-intro artificial intelligence tec.ppt
cps270_intro artificial intelligence.ppt
cps270_game_playing artificial intelligence.ppt
في الذكاء الاصطناعي وتقنيه المعلوماتالعملي.pptx
chapter5-2 restoration and depredations.ppt
Ad

Recently uploaded (20)

PDF
TR - Agricultural Crops Production NC III.pdf
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPTX
master seminar digital applications in india
PDF
01-Introduction-to-Information-Management.pdf
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
Cell Types and Its function , kingdom of life
PPTX
Institutional Correction lecture only . . .
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
Pharma ospi slides which help in ospi learning
PDF
Computing-Curriculum for Schools in Ghana
PDF
Pre independence Education in Inndia.pdf
TR - Agricultural Crops Production NC III.pdf
human mycosis Human fungal infections are called human mycosis..pptx
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPH.pptx obstetrics and gynecology in nursing
Microbial disease of the cardiovascular and lymphatic systems
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
STATICS OF THE RIGID BODIES Hibbelers.pdf
master seminar digital applications in india
01-Introduction-to-Information-Management.pdf
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Abdominal Access Techniques with Prof. Dr. R K Mishra
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Cell Types and Its function , kingdom of life
Institutional Correction lecture only . . .
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
2.FourierTransform-ShortQuestionswithAnswers.pdf
Pharma ospi slides which help in ospi learning
Computing-Curriculum for Schools in Ghana
Pre independence Education in Inndia.pdf

Chapter_9_Morphological_Image_Processing.ppt