histogram equalization transformation function
4 次查看(过去 30 天)
显示 更早的评论
Suppose that a given 3-bit image(L=8) of size 64*64 pixels (M*N=4096) has the intensity distribution shown as below. How to obtain histogram equalization transformation function and then compute the equalized histogram of the image?
Rk nk
0 800
1 520
2 970
3 660
4 330
5 450
6 260
7 106
回答(1 个)
Image Analyst
2018-12-9
Call histeq() followed by imhist().
2 个评论
Image Analyst
2018-12-9
Why without built-in functions???
Why would you want to compute the histogram, then the cdf, then invert it, and use intlut() when you can just do it in one line of code?
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Histograms 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!