luminance distribution in image

19 visualizzazioni (ultimi 30 giorni)
Sameh Salman
Sameh Salman il 4 Apr 2020
Risposto: Image Analyst il 4 Apr 2020
Dear all,
is there any code to know luminance distribution in image?

Risposte (1)

Image Analyst
Image Analyst il 4 Apr 2020
imhist(grayImage);
If it's an RGB image cast to gray scale
grayImage = rgb2gray(rgbImage);
imhist(grayImage);

Community Treasure Hunt

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

Start Hunting!

Translated by