SurfaceLocalMaxima
Finds surface locations characterized by locally maximal heights.
Applications:Detection of characteristic points, usually after some surface transformations.
Syntax
C++
C#
Python
def SurfaceLocalMaxima( inSurface: Surface, /, *, inRoi: Region | None = None, inConsiderPlateaus: bool = False, inMinHeight: float | None = None, inMaxHeight: float | None = None, inMinDistance: float = 0, inMaximaVerification: SurfaceLocalExtremaVerification | None = None ) -> ( outLocalMaxima: list[SurfaceExtremum], outMaximaRegions: list[Region] )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inSurface | Surface | |||
![]() |
inRoi | Region | None | None | Range of pixels to be processed | |
![]() |
inConsiderPlateaus | bool | False | Consider multi-pixel maxima (plateaus) or not | |
![]() |
inMinHeight | float | None | None | Minimal height of maximum to be considered | |
![]() |
inMaxHeight | float | None | None | Maximal height of maximum to be considered | |
![]() |
inMinDistance | float | 0.0 - ![]() |
0 | Minimal distance between two found maxima |
![]() |
inMaximaVerification | SurfaceLocalExtremaVerification | None | None | Maxima verification structure | |
![]() |
outLocalMaxima | list[SurfaceExtremum] | Found local maxima | ||
![]() |
outMaximaRegions | list[Region] | Regions of local maxima (plateaus and singletons) |



