1
5.5kviews
The histogram of a digital image with 3 bits per pixel is shown below:
Grey level 0 1 2 3 4 5 6 7
Frequency of occurrence 0 0 90 200 400 240 70 0

Perform histogram equalization.

Draw the histograms before and after equalization.

Mumbai University > Electronics > Sem 7 > Digital image processing

Marks: 10 M

Year: May 2013

1 Answer
0
225views

We draw the original histogram of the image.

enter image description here

Here L=8, we now perform histogram equalization.

Grey level nk PDF,Pr(k) = n,Σ n CDF,Sk =Σ pr(k) Sk x (L-1),i.e. sk x 7 Round off
0 0 0 0 0 0
1 0 0 0 0 0
2 90 0.09 0.09 0.63 1
3 200 0.2 0.29 2.03 2
4 400 0.4 0.69 4.83 5
5 240 0.24 0.93 6.51 7
6 70 0.07 1 7 7
7 0 0 1 7 7
Σn=1000

Consider the 1st , 2nd and last column

enter image description here

Hence the equalized frequency table is

enter image description here

Grey level 0 1 2 3 4 5 6 7
nk 0 90 200 0 0 400 0 310
Please log in to add an answer.