Histogram and Normalized Histogram for an Image

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?

Réponses (1)

Shashank Gupta
Shashank Gupta le 1 Fév 2021

0 votes

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