Professional Documents
Culture Documents
Neighborhood processing
(Spatial Filtering)
Linear Filters
Linear Filters Non-Linear Filters
(order Statistics filters) Laplacian Filter
Averaging Filters
Median Filter 1st Derivative Filter
Weighted
Averaging Filters Min/ Max Filter High Boost Filter
• Example
• Apply given 3 x 3 mask in fig 3.52 (b) on the
=
Solution
•First consider top left 3 x 3 neighbourhoods in image f(x, y) fig 3.52(c) with hot spot coinciding with grey level 4 in f(x, y).
•Calculate output for that pixel position by
• –Isolated clusters of pixel that are light or dark •Filtering is often used to remove noise from
with respect to their neighbors & whose area is images
less than m2/2 are eliminated. •Sometimes a median filter works better than an
averaging filter
• Minimum filter:
– Select the lowest pixel value from the ordered set.
– Remove salt-type noise.
Minimum Filter
Order Filters
• Maximum filter:
– Select the highest pixel value from the ordered
set.
– Remove pepper-type noise.
I1 I N 2
Midpoint =
2