Professional Documents
Culture Documents
Spatial Domain Filtering and Intensity Transformations
Spatial Domain Filtering and Intensity Transformations
Transformations
g(x,y) = T[f(x,y)]
The square of size 3x3 will start from origin and will
scan whole image horizontally and vertically.
There is no neighborhood pixels at border hence 0 or
some other intensity value is assumed.
s= T(r)
A. Image Negatives
s=L-1-r
s= clog(1+r)
s = crγ
1. r1 = s1 and r2 = s2
p(rk) = nk/MN
2D Convolution
a =? b = ?
Smoothing Spatial Filters
Smoothing filters are used for blurring and noise
reduction.
Ex: the 3x3 neighborhood has values (10, 20, 20, 20,15,
20, 100, 25, 20). These values are ranked as (10, 15, 20, 20,
20, 20, 20, 25, 100). The median will be 20.
Sharpening Spatial Filters
Sharpening highlight transitions in intensity.