Find a point operation (in tabular form) that will equalize a 3-bit image with the following histogram.
2 views (last 30 days)
Show older comments
Find a point operation (in tabular form) that will equalize a 3-bit image with the following histogram?
heres the TABLE ; I DONT KNOW TO MANUALLY PLOLT THIS USING MATLAB.
I KNOW IT HAS TO DO WITH HISTOGRAM EQUALIZATION. I AM REALLY CONFUSED HOW CAN I DO THIS?
rk = value of pixel
nk = number of pixel with gray values
output- P in(rF)=nk/n
n= total number of pixel with gray value rk.
P in =is probability density
rk nk
0 1028
1 3544
2 5023
3 3201
4 1867
5 734
6 604
7 383
0 Comments
Answers (1)
Walter Roberson
on 2 Oct 2022
One possible interpretation is that each level should be associated with a brightness, and that as closely as possible the total lumanence contributed by all the pixels of each level should be the same.
So if the total lumanance by level is decided to be T then
1024 * first_brightness = T
3544 * second_brightness = T
5023 * third_brightness = T
and so on. So the output brightness for each level should be T/nk for some constant T.
What should T be? Well probably T/min(nk) should be 255...
0 Comments
See Also
Categories
Find more on Histograms in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!