Chapter 3 Part 1
Chapter 3 Part 1
Chapter 3
03 Spatial filtering
output
input image and output
image.
And hence is called identity
transformation. Input
Negative Transformation
Negative Transformation is invert of identity transformation.
So each value is subtracted by 255 and the result image has been
shown above.
So what happens is that, the lighter pixels become dark and the
darker picture becomes light.
It is useful when for enhancing white details embedded in dark
regions of the image.
Negative Transformation cont...
Contrast stretching:
(r1,s1)=(rmin,0) , (r2,s2)=(rmax,L-1)
Thresholding:
(r1,s1)=(k,0) , (r2,s2)=(k,L-1)
Thresholding
Piecewise-Linear Transformation
Thresholding
g(x,y) = T[f(x,y)] Or Example: suppose m= 150 (called threshold),
s= T(r) if r (or pixel intensity in image f) is above this
threshold it becomes 1 in s (or pixel intensity
in image g), otherwise it becomes zero.
Question?