Back to FabImage Library website
You are here: Start » Function Reference » Histogram Features » HistogramMaximum

HistogramMaximum
Header: | FIL.h |
---|---|
Namespace: | fil |
Computes histogram bar values maximum - its location and value.
Syntax
C++
C#
void fil::HistogramMaximum ( const fil::Histogram& inHistogram, int& outMaximumLocation, int& outMaximumValue )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inHistogram | const Histogram& | Input histogram | |
![]() |
outMaximumLocation | int& | Output maximum location | |
![]() |
outMaximumValue | int& | Output maximum value |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Input histogram is empty in HistogramMaximum. |
See Also
- HistogramAverage – Computes the average of histogram bin values.
- HistogramMinimum – Computes histogram bar values minimum - its location and value.