Maple für Professional
Maple für Akademiker
Maple für Studenten
Maple Personal Edition
Maple Player
Maple Player für iPad
MapleSim für Professional
MapleSim für Akademiker
Maple T.A. - Testen & beurteilen
Maple T.A. MAA Placement Test Suite
Möbius - Online-Courseware
Machine Design / Industrial Automation
Luft- und Raumfahrt
Fahrzeugtechnik
Robotics
Energiebranche
System Simulation and Analysis
Model development for HIL
Anlagenmodelle für den Regelungsentwurf
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematikausbildung
Technik
Allgemein- und berufsbildende Schulen
Testen und beurteilen
Studierende
Finanzmodelle
Betriebsforschung
Hochleistungsrechnen
Physik
Live-Webinare
Aufgezeichnete Webinare
Geplante Veranstaltungen
MaplePrimes
Maplesoft-Blog
Maplesoft-Mitgliedschaft
Maple Ambassador Program
MapleCloud
Technische Whitepapers
E-Mail Newsletters
Maple-Bücher
Math Matters
Anwendungs-Center
MapleSim Modell-Galerie
Anwenderberichte
Exploring Engineering Fundamentals
Lehrkonzepte mit Maple
Maplesoft Welcome-Center
Resource-Center für Lehrer
Help-Center für Studierende
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.
Options
autorange = truefalse
If true, set the range to the minimum and maximum values that occur in the image (on all layers). Overrides the range option. The default is false.
cumulative = truefalse
Specifies that the count in each bucket is to include the counts in all the lower numbered buckets. This is especially useful in conjunction with the normalized option causing each bucket to end up containing a value indicating which fraction of the pixels in the image were less than or equal to the upper bound of the bucket. By selecting an appropriate number of buckets (4, 5, 100), the values correspond to concepts like quartiles, quintiles, and percentiles. The default is false.
decomb = truefalse
Specifies that empty buckets are to be smoothed over when plotting the histogram. Image processing manipulations often spread values over a larger range, leaving empty buckets distributed throughout the resulting histogram, making it look somewhat like a comb. Specifying the decomb option makes the resulting plots easier to interpret. The default is false.
normalized = truefalse
If true, the value in each bucket of each layer is scaled so that the sum of the values in the buckets in a layer is 1.0. The default is false.
range = numeric .. numeric
Assigns the range of values that the buckets cover. The default is 0.0 .. 1.0, which corresponds to the the range of values in an unprocessed image.
Examples
See Also
ImageTools, ImageTools[Histogram]
Download Help Document