Академический Документы
Профессиональный Документы
Культура Документы
„Contouring“
8
4
2
Bernd Girod: EE368 Digital Image Processing
Point Operations no. 5
How many gray levels are required?
32 levels
64 levels
128 levels
256 levels
I + ΔI
Note: I is luminance,
125
126
128
129
130
127
I measured in cd m 2
Visibility threshold
„Weber fraction“
ΔI I ≈ KWeber ≈ 1…2% „Weberʻs Law“
I max 255
= (1 + KWeber )
I min
I max
For
KWeber = 0.010.02 = 13156
Typical display contrast
I min
Cathode ray tube 100:1
Print on paper 10:1
Suggests uniform perception in the log(I) domain
(„Fechnerʻs Law“)
Voltage U
U
U ~ log(I )
U ~ I1 γ
Imax
= 100
Imin
slope -γ
Luminance
2.0
shoulder
I = I 0 ⋅10 − d
= I 0 ⋅10 −( − γ log E +d0 )
density d
„linear“ region
1.0
= I 0 ⋅10 − d0 ⋅ E γ
toe
log E
0
d0
E is exposure
γ measures film contrast
General purpose films: γ = -0.7 . . . -1.0
High-contrast films: γ = -1.5 . . . -10
Lower speed films tend to have higher absolute γ
f ( x, y ) a ⋅ f ( x, y )
f ( x, y ) γ
a ⋅ ( f ( x, y )) with γ = 1.5
Original ramp γ0
Scaling chosen to
approximately preserve
brightness of mid-gray
Scaled ramp 0.5γ0
Cameraman
image
gray level
Pout
image
gray level
0
≤ f ≤1 0 ≤ g ≤1
T(f) is strictly monotonically increasing, hence, there
exists
f = T −1 ( g ) 0 ≤ g ≤1
Then . . .
dg
= pf ( f )
df
df 1
pg ( g ) = p f ( f ) = pf ( f ) =1 0 ≤ g ≤1
dg f =T −1 ( g ) p f ( f ) −1
f =T ( g )
#pixels
gray level
gray level
#pixels
gray level
gray level
#pixels
#pixels
http://www.cambridgeincolour.com/tutorials/noise-reduction.htm
1 N
( )
Average image:
f x, y = ∑ f i x, y
N i=1
( )
Mean squared error vs. noise-free image g
2 2
2 1 1
(
) N i
(
E f − g = E ∑ f i − g = E ∑ g + ni − g
N i
)
2
1 1 1
= E ∑ ni = 2 ∑ E ni2 = { } E n2 { }
N i N i N
{ }
provided E ni n j = 0∀i, j { }
E ni = E n ∀i {}
Bernd Girod: EE368 Digital Image Processing
Point Operations no. 32
High-dynamic range imaging
- +
Contrast
enhancement
http://www.isi.uu.nl/Research/Gallery/DSA/
Bernd Girod: EE368 Digital Image Processing
Point Operations no. 37