compute and plot the intensity distribution histogram for each layer (color channel) of an image - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Graphics : Image Processing : ImageTools Package : ImageTools/PlotHistogram

ImageTools[PlotHistogram] - compute and plot the intensity distribution histogram for each layer (color channel) of an image

Calling Sequence

PlotHistogram( img, buckets, opts )

Parameters

img

-

Image; input image

buckets

-

(optional) posint; number of buckets/bins

opts

-

(optional) equation(s) of the form option = value; specify options for the PlotHistogram command

Description

• 

The PlotHistogram command plots a histogram for each channel in an image.

• 

The img parameter specifies the image.

• 

The optional buckets parameter specifies the number of buckets per color channel desired. For most images, which were originally read from 8-bit per channel image files, the default of 256 is a suitable value.

Examples

withImageTools:

img:=Create100,200,r,c→evalf0.1+0.3sinr50+0.3sinc30:

PlotHistogramimg,100

PlotHistogramimg,100,autorange

PlotHistogramimg,autorange,normalized

PlotHistogramimg,autorange

PlotHistogramimg,range=0..0.5

See Also

ImageTools, ImageTools[Histogram]


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam