You are here: Start » FIL.NET » Function Reference » Surface » Surface Spatial Transforms » FIL.CropSurface_Relative
Removes from the surface points that are relatively too distant from their average neighbor points in a local rectangular neighborhood.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void CropSurface_Relative ( FilNet.Surface inSurface, FilNet.Surface inBaseSurface, float? inMinRelativeHeight, float? inMaxRelativeHeight, float inHysteresis, bool inPreserveDimensions, FilNet.Surface outSurface )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inSurface | FilNet.Surface | Input surface. | ||
![]() | inBaseSurface | FilNet.Surface | Heights of this surface are subtracted from inSurface heights before crop. | ||
![]() | inMinRelativeHeight | float? | Minimum relative height of a point to be not removed. Default value: ftl::NIL. | ||
![]() | inMaxRelativeHeight | float? | Maximum relative height of a point to be not removed. Default value: ftl::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 | FilNet.Surface |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Hardware acceleration settings may be manipulated with Settings class.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Region of interest exceeds an input surface in CropSurface_Relative. |
DomainError | Surface formats are not the same in CropSurface_Relative. |
DomainError | Surface sizes are not equal in CropSurface_Relative. |
Function Overrides
- CropSurface_Relative(Surface, NullableRef<Region>, Surface, Nullable<Single>, Nullable<Single>, Single, Boolean, Surface)
- CropSurface_Relative(Surface, NullableRef<Region>, Surface, Nullable<Single>, Nullable<Single>, Single, Boolean, Surface, Region)
- CropSurface_Relative(Surface, NullableRef<Region>, Surface, Nullable<Single>, Nullable<Single>, Single, Boolean, Surface, NullableRef<Region>)