Professional Documents
Culture Documents
Lecture 7
Lecture 7
Lecture 7
Lecture7
1
ASET
Note:
Histogram equalization may not always produce desirable
results, particularly if the given histogram is very narrow. It
can produce false edges and regions.
2
ASET
3
Histogram Specification ASET
(Histogram Matching)
4
ASET
Given Information
(1) Input image from which we can compute its histogram .
(2) Desired histogram.
Goal
5
ASET
7
ASET
8
ASET
1 1
(3)
z G (v=s) z G [T ( r )]
9
ASET
Example:
# pixels
Gray
value
10
ASET
# pixels
Gray values
11
ASET
12
ASET
13
ASET
G-1(0) = ?
G-1(1/7) = 3/7
G-1(2/7) = 4/7
G-1(3/7) = ?
G-1(4/7) = ?
G-1(5/7) = 5/7
G-1(6/7) = 6/7
G-1(1) = 1
14
ASET
15
ASET
Again, the actual histogram of the output image does not exactly
but only approximately matches with the specified histogram. This
is because we are dealing with discrete histograms.
16
ASET