Back to FabImage Library website
You are here: Start » Function Reference » Histogram » Histogram Data Statistics » HistogramDataMaximum

HistogramDataMaximum
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationBasic |
Computes the approximation of the largest value of the histogrammed numeric data.
Syntax
C++
C#
void fil::HistogramDataMaximum ( const fil::Histogram& inHistogram, float& outMaximum )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inHistogram | const Histogram& | Input histogram | |
![]() |
outMaximum | float& | Maximum of the histogrammed data |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty histogram on input in HistogramDataMaximum. |
DomainError | The histogrammed data is empty in HistogramDataMaximum. |