Professional Documents
Culture Documents
Intensity Transformation and Spatial Filtering - Gonzales Chapter 3.1-3.3
Intensity Transformation and Spatial Filtering - Gonzales Chapter 3.1-3.3
Sections 3.1-3.3
Digital Image Processing
Gonzales and Woods
Irina Rabaev
Representing digital image
k
sk T (rk ) ( L 1) pr (r j )
j 0
L 1 k
MN j 0
n j , k 0,1,2,..., L 1
Histogram Equalization - Example
Let f be an image with size 64x64 pixels and L=8 and let f has the intensity
distribution as shown in the table 0
p r(rk )=nk/MN nk rk s0 T (r0 ) 7 pr (r j ) 7 pr (r0 ) 1.33
j 0
0.19 790 0 1
s1 T ( r1 ) 7 pr (rj ) 7( pr (r0 ) pr ( r1 )) 3.08
0.25 1023 2 j 0
Denote:
ri – intencity value in the range [0, L-1],
p(i) - histogram component corresponding to value ri .
Tungsten filament
Using Histogram Statistics for Image
Enhancement
Using Histogram Statistics for Image
Enhancement