





































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






































Yao Wang Polytechnic University, Brooklyn, NY 11201With contribution from Zhu Liu, Onur Guleryuz, andGonzalez/Woods, Digital Image Processing, 2ed
EL5123: Non-linear Filtering
Wi d
100 200 205
Windowshape
100 100 100
Yao Wang, NYU-Poly^
EL5123: Non-linear Filtering
Matlab command: medfilt2(A,[3 3])
Wi d
100 200 205
Windowshape
100 100 100
Yao Wang, NYU-Poly^
EL5123: Non-linear Filtering
Note that the edges of the centersquare are better reserved
Yao Wang, NYU-Poly^
EL5123: Non-linear Filtering
Median Yao Wang, NYU-Poly^
EL5123: Non-linear Filtering
-^ Concatenation of dilation and erosion in differentorders result in more high level operations,including
-^ Morphological operations can be used forsmoothing or edge detection or extraction ofother features.•^ Belongs to the category of spatial domain filter.Yao Wang, NYU-Poly
EL5123: Non-linear Filtering
black^
pixels (with image
value “1”) as elements in the set and“white” pixels (with value “0”) as outside
(^
)
the set. • Morphological filters are essentially setoperationsYao Wang, NYU-Poly^
EL5123: Non-linear Filtering operations
T^ l ti
Translation
x Reflection A Origin^
Origin
Yao Wang, NYU-Poly^
EL5123: Non-linear Filtering
HF
H is represented by
HF } ˆ)(:{
FH xH F^
where^ Φ
represent the empty set.
-^
H is composed of all the points FG that when^ Ĥ
shifts its origin to these points, at least one point of
Ĥ^ is included in F.
HF F^ Yao Wang, NYU-Poly^
EL5123: Non-linear Filtering HF F^
Note that the narrow ridge is closed H 3x3 origin at the center F^
Yao Wang, NYU-Poly^
EL5123: Non-linear Filtering H, 3x3, origin at the center
and is defined H
H is represented by
, and is defined as,
-^
is composed of points that
H FG when H is translated to these points, everypoint of H is contained in F.• If the origin of H takes value of “1”,
FH F^
Yao Wang, NYU-Poly^
EL5123: Non-linear Filtering
H 3x3 origin at the center F^
Yao Wang, NYU-Poly^
EL5123: Non-linear Filtering H, 3x3, origin at the center
EL5123: Non-linear Filtering