Week 9 - L1
Week 9 - L1
Week 9 - Lecture 1
► Foundation
► Laplacian Operator
3
Sharpening Spatial Filters: Foundation
f
f ( x 1) f ( x)
x
2 f
2
f ( x 1) f ( x 1) 2 f ( x)
x
4
Spatial Differentiation
A B
1st Derivative
2 f
2
f ( x 1) f ( x 1) 2 f ( x)
x
Simply takes into account the values both before and after the current
value
1st derivative
2nd derivative
9
Sharpening Spatial Filters: Laplace Operator
2 f f ( x 1, y ) f ( x 1, y ) f ( x, y 1) f ( x, y 1)
- 4 f ( x, y )
Sharpening Spatial Filters: Laplace Operator
12
Sharpening Spatial Filters: Laplace Operator
g ( x, y ) f ( x, y ) c 2 f ( x, y )
where,
f ( x, y ) is input image,
g ( x, y ) is sharpenend images,
c -1 if 2 f ( x, y ) corresponding to Fig. 3.37(a) or (b)
and c 1 if either of the other two filters is used.
13
Applying the
Laplacian to an
image, we get a
new image that
highlights edges
and other
discontinuities
14
Image scaling (Ch2)
(OR) y= ((x-min)/(max-min))*255
15
Laplacian Image Enhancement
- =
0 -1 0
-1 5 -1
0 -1 0