Professional Documents
Culture Documents
1
0
( )
L
i i
i
m r p r
=
=
1 1
0 0
1
( , )
M N
x y
f x y
MN
= =
=
1
2 2
2
0
( ) ( ) ( )
L
i i
i
r r m p r o
=
= =
| |
1 1
2
0 0
1
( , )
M N
x y
f x y m
MN
= =
=
n-th moment
around mean
Variance
(2
nd
moment)
Mean
(average intensity)
Example: Comparison of
Standard Deviation Values
31.6 o =
14.3 o =
49.2 o =
is useful for estimating image contrast!
Local Histogram Statistics
1
0
Local average intensity
( )
denotes a neighborhood
xy xy
L
s i s i
i
xy
m r p r
s
=
=
1
2 2
0
Local variance
( ) ( )
xy xy xy
L
s i s s i
i
r m p r o
=
=
= = = =
Question
Intensity operations can yield pixel values outside of the
range [0 255].
You should convert values back to the range [0 255] to
ensure that the image is displayed properly.
How would you find the following mapping?
[f
min
f
max
] [ 0 255]