How to implement gray level probability density function?
Ältere Kommentare anzeigen
the gray-level probability density function given as P(g) = h(g)/M, where h(g) is the number of pixels with gray level g and M is the total number of pixels in the image.
I want to implement this on a gray scale image, my question is what is h(g) in my case and what are gray level g... i know M is (row*colum) please answer
Akzeptierte Antwort
Weitere Antworten (1)
Dishant Arora
am 18 Feb. 2014
0 Stimmen
you can use built in function imhist.
Kategorien
Mehr zu Image Category Classification finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!