SLIDE 5 5
IIP 29
Image Enhancement in the Spatial Domain by Filtering
- Reminder: procedures (operators) operating
- n pixels
- Performed by moving a mask (also called
window, filter, template), centered at the current pixel, over the image and applying the
- perator on mask’s pixels to obtain the
- perator value at the current pixel. Practically,
the operator is specified by the mask coefficients
IIP 30
Image Enhancement by Filtering – The Mechanism (1)
x mask and 2 1, 2 1, , nonnegative integers (i.e., mask of odd size) m n m a n b a b = + = + ( 1, 1) ( 1, 1) ( 1,0) ( 1, ) ... (0,0) ( , ) ... (1,0) ( 1, ) (1,1) ( 1, 1) and linear filtering of an image of size x with a filter mask of size x is ( R w f x y w f x y w f x y w f x y w f x y f M N m n g x = − − − − + − − + + + + + + + + , ) ( , ) ( , ) also called "convolution of a mask with an image"
a b s a t b
y w s t f x s y t
=− =−
= + +
∑ ∑