ImageLocalMaxima
Finds image locations characterized by locally maximal pixel values.
Applications:Detection of characteristic points, usually after some image transformations.
Syntax
C++
Python
def ImageLocalMaxima( inImage: Image, /, *, inRoi: Region | None = None, inConsiderPlateaus: bool = False, inMinValue: float | None = None, inMaxValue: float | None = None, inMinDistance: float = 0, inMaximaVerification: ImageLocalExtremaVerification | None = None ) -> ( outLocalMaxima: list[Extremum2D], outMaximaRegions: list[Region] )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inImage | Image | Input image | ||
![]() |
inRoi | Region | None | None | Range of pixels to be processed | |
![]() |
inConsiderPlateaus | bool | False | Consider multi-pixel maxima (plateaus) or not | |
![]() |
inMinValue | float | None | None | Minimal value of maximum to be considered | |
![]() |
inMaxValue | float | None | None | Maximal value of maximum to be considered | |
![]() |
inMinDistance | float | 0.0 - ![]() |
0 | Minimal distance between two found maxima |
![]() |
inMaximaVerification | ImageLocalExtremaVerification | None | None | Maxima verification structure | |
![]() |
outLocalMaxima | list[Extremum2D] | Found local maxima | ||
![]() |
outMaximaRegions | list[Region] | Regions of local maxima (plateaus and singletons) |



