You are here: Start » AVL.NET » Invoke.CropSurface_Relative
Removes from the surface points that are relatively too distant from their average neighbor points in a local rectangular neighborhood.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void CropSurface_Relative ( Avl.Surface inSurface, Optional<Avl.Region> inRoi, Avl.Surface inBaseSurface, Optional<float> inMinRelativeHeight, Optional<float> inMaxRelativeHeight, float inHysteresis, bool inPreserveDimensions, Avl.Surface outSurface, Optional<Avl.Region> outRejected )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inSurface | Avl.Surface | Input surface. | ||
![]() | inRoi | Atl.Optional<Avl.Region> | Region of interest. Default value: atl::NIL. | ||
![]() | inBaseSurface | Avl.Surface | Heights of this surface are subtracted from inSurface heights before crop. | ||
![]() | inMinRelativeHeight | Atl.Optional<float> | Minimum relative height of a point to be not removed. Default value: atl::NIL. | ||
![]() | inMaxRelativeHeight | Atl.Optional<float> | Maximum relative height of a point to be not removed. Default value: atl::NIL. | ||
![]() | inHysteresis | float | <0.0f, INF> | 0.0f | Defines how much the threshold criteria are lowered for points neighboring with other not removed points. Default value: 0.0f. |
![]() | inPreserveDimensions | bool | False | Flag indicating whether the surface dimensions should be preserved or not. Default value: False. | |
![]() | outSurface | Avl.Surface | |||
![]() | outRejected | Atl.Optional<Avl.Region> | Region of locations where points are removed. |