HistogramLocalExtrema
Computes the histogram local extrema.
Syntax
C++
C#
Python
def HistogramLocalExtrema( inHistogram: Histogram, inConsiderPlateaus: bool, /, *, inRange: Range | None = None, inMinValue: float | None = None, inMaxValue: float | None = None, inCyclic: bool = False, inExtremumType: ExtremumType = ExtremumType.Maximum, inInterpolationMethod: HistogramInterpolationMethod = HistogramInterpolationMethod.Linear, inLocalBlindness: LocalBlindness | None = None ) -> outLocalExtrema: list[HistogramExtremum]
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inHistogram | Histogram | Input histogram | |
![]() |
inRange | Range | None | None | Search range |
![]() |
inMinValue | float | None | None | Minimum value of an extremum |
![]() |
inMaxValue | float | None | None | Maximum value of an extremum |
![]() |
inCyclic | bool | False | Whether to check differences between the first and last elements |
![]() |
inConsiderPlateaus | bool | Indicates whether the result should include centers of plateau extrema | |
![]() |
inExtremumType | ExtremumType | ExtremumType.Maximum | Type of extremum to find |
![]() |
inInterpolationMethod | HistogramInterpolationMethod | HistogramInterpolationMethod.Linear | Histogram bins interpolation method |
![]() |
inLocalBlindness | LocalBlindness | None | None | Defines conditions in which weaker extrema can be detected in the vicinity of stronger ones |
![]() |
outLocalExtrema | list[HistogramExtremum] | Output histogram extrema |


