














Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Dr. Chittaranjan Verma delivered this lecture for Digital Image Processing course at B R Ambedkar National Institute of Technology. It includes: Dilation, Digital, Image, Processing, States, Dilation, Index, Pixels
Typology: Slides
1 / 22
This page cannot be seen from the preview
Don't miss anything!















2
i.e. when the reflection of set B about its origin is shiftedby z, the dilation of A by B is the set of all displacementssuch that
overlaps A by at least one element
z
b^
B
3
Dilation
5
z
b
b^
B
6
Erosion
Shrinks the size of 1-valued objects
Smoothes object boundaries
Removes small objects
8
Erosion: Example
9
Erosion: Example
11
Dilation and Erosion: Application
12
Structuring element: Shapes
14
Opening and Closing: Example
15
Opening and Closing: Example
17
Hit or Miss Transform
Suppose we have a binary image that contains certainshapes (circles, squares, lines, etc,….) called image A
We use another image or matrix to search image A for aparticular pattern of bits. We will call this pattern “shape D”
We then search image A for shape D
Whenever there is a ‘hit’, we indicate where the center ofshape D was on image A.
18
Hit or Miss Transform: Idea
20
Hit or Miss Transform ^
We want to detect disjoint region D in space A ^
Let D be enclosed by a small window W ^
The local background of D with respect to W is (W-D) ^
D is found by
(^
)^
(^
(^
))
c
A
D
A
W
D
21
Hit or Miss Transform
: the set formed from elements of B associated with an 1 object i.e. B
1
: the set formed from elements of B associated with the 2 background i.e. B
2
(
)^
(
(
))
c
A
B
A
D
A
W
D
1
2
(
)
(
)
c
A
B
A
B
A
B
Thus,
contains all the origin points at which,
simultaneously, B
1
found a hit in A and B
2
found a hit in A
c