Professional Documents
Culture Documents
Lecture4 Aug16 2021
Lecture4 Aug16 2021
Extraction of connected
components
Binary image filters
Gray scale image
processing
Ks
Neighbors of
t.LI
ni
4
if such that
7 a path of pixels
all these are marked as f
I
A connected component is a set of pixels
Such that any pixel in this set is connected
12 Nij t
0 o ti D
Set K I Region no counter
top to bottom
If Icing 1 0 do nothing
Ili j I III I Li I
j o
j o
i
Rliij k
7
k KH
Ili j I Ici ly 1
1 I liej 17 0
M7 Nij Rli Ij
Ili 1 1 Ili I j o Ili j 17 1
Rli 51 Rli j
4,7
i
Ili I I Ili l
j I III j il I
Rliij Rli i
j
If Rfi t
j Rli.j i
areequivalent
BivdryMorpho1og change in shapes
t7 i
Windownotation
Window B Bi But where
Bi pi Ei s t B contains logo
h l lio i l
W f Gien window 13
Image I
Binaryfilt
Let 4 be a binary operation on
Jli
GIB Ici D oeiem I
Ij EN I
Edge of image processing
Repeat as
many boundary
Replication
pixels as required for the window
AE
IiDiLationFilkriJ
DILATE I B is defined as
Jliij OR B Icij
Mt Nzt 1 Ten
OR se kn
max ni inn
go Erosion J ERODE I B
kn n Nz Uh
AND ai
min ne Rn
I Jez
Nitz
Majority filter J MAJORITY I B
Gray Seale
comments on Histograms
n times
iiiI
mtn.EE mtnEok