You are here: Start » AVL.NET » Function Reference » Surface » Surface Spatial Transforms » AVL.CropSurface_Dynamic
Removes from the surface points that are relatively too distant from their average neighbor points in a local rectangular neighborhood.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void CropSurface_Dynamic ( AvlNet.Surface inSurface, NullableRef<AvlNet.Region> inRoi, int inRadiusX, int? inRadiusY, float? inMinRelativeHeight, float? inMaxRelativeHeight, float inHysteresis, bool inPreserveDimensions, AvlNet.Surface outSurface, AvlNet.Region outRejected, AvlNet.Surface diagBaseSurface )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inSurface | AvlNet.Surface | Input surface. | |||
inRoi | AvlNet.NullableRef<AvlNet.Region> | Region of interest. Default value: atl::NIL. | |||
inRadiusX | int | <0, INF> | 1 | Horizontal radius of internal mean blur. Default value: 1. | |
inRadiusY | int? | <0, INF> | Vertical radius of internal mean blur (Auto = inRadiusX). Default value: atl::NIL. | ||
inMinRelativeHeight | float? | Minimum relative height of a point to be not removed. Default value: atl::NIL. | |||
inMaxRelativeHeight | 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 | AvlNet.Surface | ||||
outRejected | AvlNet.Region | Region of locations where points are removed. | |||
diagBaseSurface | AvlNet.Surface | Diagnostic blurred input 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_Dynamic. |
Function Overrides
- CropSurface_Dynamic(Surface, Int32, Nullable<Single>, Nullable<Single>, Single, Boolean, Surface)
- CropSurface_Dynamic(Surface, NullableRef<Region>, Int32, Nullable<Int32>, Nullable<Single>, Nullable<Single>, Single, Boolean, Surface)
- CropSurface_Dynamic(Surface, NullableRef<Region>, Int32, Nullable<Int32>, Nullable<Single>, Nullable<Single>, Single, Boolean, Surface, NullableRef<Region>)
- CropSurface_Dynamic(Surface, NullableRef<Region>, Int32, Nullable<Int32>, Nullable<Single>, Nullable<Single>, Single, Boolean, Surface, NullableRef<Region>, Surface)