Why do I need pdf when make histogram equalizaion
1 view (last 30 days)
Show older comments
Hi all,
I searched about histogram equalization without histeq(), but it seems many codes actually don't use pdf(probability distribution funtion)when get cdf or something, and they just say they need pdf.
What is the role of pdf when make histogram equaliztion?
Thanks.
0 Comments
Answers (1)
Image Analyst
on 30 Jul 2016
You need to get the pdf and then use that to get the cdf. Then you use the cdf as an inverse lookup table to find out what gray level needs to be mapped to what gray level.
I don't think histeq() uses that method exactly. It's a variant of it but it's still bad. In general you don't want to do histogram equalization. It gives funny looking, unnatural images. You'll get more natural images using imadjust(), which uses a linear transform.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!