Function Index
ShowImageHistogram
ShowImageHistogram[
h, opts
]
plots the image histogram(s)
h
using
LinePlot
.
ShowImageHistogram
has the same options as
LinePlot
.
All options are threaded across the histograms of each of the color channels of an image.
The options that take lists as arguments should be repeated as many times as there are color channels in the image. For example,
PlotRange→{0,1}
should be entered as
PlotRange→{{0,1},{0,1},{0,1}}
for a three-channel color image.
See also User's Guide
3.3
.
Examples
This loads the package.
In[1]:=
This loads an example monochrome image.
In[2]:=
This creates and plots the histogram of the image
lena
.
In[3]:=
Out[3]=
This demonstrates the use of option
LineStyle
.
In[4]:=
Out[4]=
This loads a color image.
In[5]:=
This shows the default output of
ShowImageHistogram
given a color image.
In[6]:=
Out[6]=
© 2009 Wolfram Research, Inc.
•
Terms of Use
•
Privacy Policy
Sign up for our newsletter: