luminance distribution in image
Show older comments
Dear all,
is there any code to know luminance distribution in image?
Answers (1)
Image Analyst
on 4 Apr 2020
imhist(grayImage);
If it's an RGB image cast to gray scale
grayImage = rgb2gray(rgbImage);
imhist(grayImage);
Categories
Find more on Image Filtering and Enhancement in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!