Image Processing: Gaurav Gupta
Image Processing: Gaurav Gupta
Lecture 4
-Gaurav Gupta
Today
Frequency Domain
Spatial
Operates on FT of
Operates on pixels
Image
Spatial Domain Methods
g(x,y) = T[f(x,y)]
Grey Scale Manipulation
s = c log(1+r)
c: constant
Compresses the dynamic range of images with
large variations in pixel values
Power Law Transformation
s = crγ
C, : positive
constants
Gamma
correction
Contrast Stretching
To increase the dynamic range of the gray
levels in the image being processed.
contd…
Histogram equalization
Histogram matching (specification)
Local enhancement
Histogram Equalization
k nj k
sk T (rk ) pr ( r j )
j 0 n j 0
g ( x, y ) f ( x , y ) n ( x , y )
Averaging M different noisy images:
M
1
g ( x, y )
M
g ( x, y )
i 1
i
First derivative
f
f (x 1) f (x)
x
Second derivative
2 f
f (x 1) f (x 1) 2 f (x)
x 2
Observations