luminance distribution in image

20 Ansichten (letzte 30 Tage)
Sameh Salman
Sameh Salman am 4 Apr. 2020
Beantwortet: Image Analyst am 4 Apr. 2020
Dear all,
is there any code to know luminance distribution in image?

Antworten (1)

Image Analyst
Image Analyst am 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