Professional Documents
Culture Documents
Lecture 5
Spatial Domain Filtering
By:
Dr. Noor Kamal
PhD in Biomedical Engineering
Image processing for BME 2_Lec 5_ 2020 1
Concepts
s=T(r)
r: gray-level at (x,y) in original image f(x,y)
s: gray-level at (x,y) in processed image g(x,y)
T is called gray-level transformation or mapping
y y
x x
Image processing for BME 2_Lec 5_ 2020 12
Spatial Filtering
Mask
filter, kernel, templete, window
convelution mask/kernel
15
Image processing for BME 2_Lec 5_ 2020
The Mechanics of Mask Filtering in Spatial Domain
• Sharpening filter
5x5
9x9
15x15 35x35