histogram of image

I seek the histogram of an image: Global histogram, Individual histograms for 5 DCT modes that these functions are just: histc, hist

Answers (2)

Wayne King
Wayne King on 31 Dec 2011
Do you have the Image Processing Toolbox?
I = imread('pout.tif');
imhist(I)
Image Analyst
Image Analyst on 31 Dec 2011
You do know that they will still work don't you?
[pixelCounts grayLevels] = hist(imageArray(:));

Asked:

on 31 Dec 2011

Community Treasure Hunt

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

Start Hunting!