How to calculate the median and mode of an image from the histogram
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Nithya SIvasamy
am 1 Okt. 2015
Kommentiert: omar abbas
am 30 Jan. 2020
I have used the following code to calculate the mode
[pixelCount grayLevels] = imhist(LBP_Im);
maximum=max(pixelCount);
r=find(pixelCount==maximum);
whether this is correct to calculate the mode. Likewise I wish to know the code for calculating the median of an image
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Histograms finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!