Histogram and Normalized Histogram for an Image

7 visualizzazioni (ultimi 30 giorni)
Wadee Maimani
Wadee Maimani il 21 Gen 2021
Risposto: Shashank Gupta il 1 Feb 2021
I have an image
and I want a read it first
after that making histogram and normalized histogram for this image
how I can do it?

Risposte (1)

Shashank Gupta
Shashank Gupta il 1 Feb 2021
Hi Wadee.
Check out imread function for reading an image and imhist function to plot the image histogram. I am not sure if you want a normalized histogram or do a histogram equilization. Either case check out this link for normalization and for equalization there are quite a lot of function available in MATLAB like histeq and adapthisteq.
I hope this reference helps you.
Cheers.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by