histogram equalization transformation function
Afficher commentaires plus anciens
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
Réponses (1)
Image Analyst
le 9 Déc 2018
0 votes
Call histeq() followed by imhist().
2 commentaires
pandu hanifa
le 9 Déc 2018
Modifié(e) : pandu hanifa
le 9 Déc 2018
Image Analyst
le 9 Déc 2018
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?
Catégories
En savoir plus sur Histograms dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!