Professional Documents
Culture Documents
1
Image Enhancement
● Background
● Some basic gray level transformations
● Histogram processing
● Enhancement using arithmetic/logic operations
● Basics of spatial filtering
● Smoothing spatial filters
● Sharpening spatial filters
● Combining spatial enhancement methods
○ Contrast Stretching
○ Thresholding
○ Binary Image
s = (L - 1) - r
S = (L - 1) - r
s = c log (1+r)
s = c r𝛄
● Contrast Stretching
● Gray-level slicing
● Gray-level slicing
● I: image,
● Coordinates: x and y
● Intensity at x and y: I(x,y)
● the histogram h, as h(i) indicating that intensity i, appears h(i) times in the
image.
h(rk) = nk
● Logic Operations
○ AND
○ OR
○ NOT
● Arithmetic Operations
○ Subtraction
○ Averaging
● Mask
○ blurring
○ noise reduction
● Smoothing linear filters also called averaging filter or lowpass filter
● Non-linear filters
○ Median filter
■ example
■ unsorted (60,20,15,23,35,47,78,53,65)
■ sorted (15,20,23,35,47,53,60,65,78)
■ the median is 47
○ Max filter
○ Min filter
● Second-order derivative
● Filters
● Composite
Laplacian
Mask
● Filters
● The Gradient
● The Gradient