ImageHistogram

ImageHistogram[image]
plots a histogram of the pixel levels for each channel in image.

ImageHistogram[image, n]
uses n levels for each channel.

ImageHistogram[image, n, {min, max}]
puts all values into n bins between min and max.

Details and OptionsDetails and Options

ExamplesExamplesopen allclose all

Basic Examples (4)Basic Examples (4)

Show the histogram of an RGB image:

In[1]:=
Click for copyable input
Out[1]=

Use additive colors to represent overlapping regions of the histograms:

In[1]:=
Click for copyable input
Out[1]=

Show separate histograms for each color channel:

In[1]:=
Click for copyable input
Out[1]=

Stack the color channels vertically:

In[1]:=
Click for copyable input
Out[1]=
New in 7 | Last modified in 9
New to Mathematica? Find your learning path »
Have a question? Ask support »