Back to FabImage Studio website
You are here: Start » Filter Reference » Histogram Basics » CreateHistogram
Creates the histogram of the array of real numbers.
Name | Type | Range | Description | |
---|---|---|---|---|
![]() |
inArray | RealArray | Array from which histogram will be generated | |
![]() |
inWeights | IntegerArray* | Weights corresponding to the elements of 'inArray' | |
![]() |
inBinSize | Real | 0.0001 - ![]() |
Input bin size |
![]() |
inDomainStart | Real* | Input domain begin | |
![]() |
inDomainLength | Real* | 0.0001 - ![]() |
Input domain length |
![]() |
outHistogram | Histogram | Output histogram |
Description
The operation creates a histogram of inArray values.
Examples
Description of usage of this filter can be found in examples and tutorial: Washers, Classify the Mounts.
Errors
This filter can throw an exception to report error. Read how to deal with errors here: Error Handling
Error type | Description |
---|---|
DomainError | Input bin width is incorrect in CreateHistogram. |
DomainError | Input boundaries are incorrect in CreateHistogram. |
DomainError | Output histogram size too large in CreateHistogram. |
DomainError | Inconsistent array lengths at inArray and inWeights in CreateHistogram. |
DomainError | Negative weight encountered in CreateHistogram. |
Complexity Level
This filter is available on Basic Complexity Level.