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

HistogramMinimum
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationBasic |
Computes histogram bar values minimum - its location and value.
Syntax
C++
C#
void fil::HistogramMinimum ( const fil::Histogram& inHistogram, ftl::Optional<const fil::Range&> inRange, fil::HistogramInterpolationMethod::Type inInterpolationMethod, int& outMinimumLocation, float& outPoint, double& outMinimumValue )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inHistogram | const Histogram& | Input histogram | |
![]() |
inRange | Optional<const Range&> | NIL | Search range |
![]() |
inInterpolationMethod | HistogramInterpolationMethod::Type | Histogram bins interpolation method | |
![]() |
outMinimumLocation | int& | Output minimum location | |
![]() |
outPoint | float& | Output subpixel minimum location | |
![]() |
outMinimumValue | double& | Output minimum value |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty histogram on input in HistogramMinimum. |
DomainError | Unsupported interpolation method in HistogramMinimum. |
See Also
- HistogramAverage – Computes the average of histogram bin values.
- HistogramMaximum – Computes histogram bar values maximum - its location and value.