Histogram - Introduction
Histogram
Finding out detailed information of
an image has been a craze for a Histogram:
long time. consists of
the number
The most popular technique of of pixels
satisfying this requirement is by &
obtaining histogram of the image intensity
levels
A histogram is a graphical of pixels
representation of numeric data present in
present in a two-dimensional object image.
such as image.
Histogram
(3, 8, 5)
To plot an image histogram
20-30 2 25,22
30-40 4 36,38,36,38
40-50 4 46,45,48,46
50-60 5 55,55,52,58,55
60-70 3 68,67,61
70-80 1 72
80-90 0 -
90-100 1 91
10
Pros & Cons of Bin Width
the equal-width histogram over smooth in
regions of high density, and is poor at
identifying sharp peaks.
14 Dark image
12
10
12
Bright image
10
0.5
8
High contrast image
7
Dynamic HE (DHE)
How To Defeat this Issue Cont..
Different Algo/Techniques of HE
bi-histogram equalization plateau limit
(BHEPL)
Proposed by Wongsritong
In this scheme, the histogram is first
smoothed with one dimensional smoothing
filter.
3.5
2.5
1.5
0.5
6000
5000
4000
3000
2000
1000
Over-exposed image
Histogram in MATLAB
h = imhist (f, b)
After applying
Equalized Code
Algorithm of Histogram
Equalization
It is the re-distribution of gray level values
uniformly. Lets consider a 2 dimensional
image which has values ranging between
0 and 255.
Algorithm of Histogram
Equalization
Algorithm of Histogram
Equalization
62