You are here: Start » AVL.NET » Invoke.CropSurface_Dynamic
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_Dynamic ( Avl.Surface inSurface, Optional<Avl.Region> inRoi, int inRadiusX, Optional<int> inRadiusY, Optional<float> inMinRelativeHeight, Optional<float> inMaxRelativeHeight, float inHysteresis, bool inPreserveDimensions, Avl.Surface outSurface, Optional<Avl.Region> outRejected, Diagnostic<Avl.Surface> diagBaseSurface )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inSurface | Avl.Surface | Input surface. | ||
![]()  | inRoi | Atl.Optional<Avl.Region> | Region of interest. Default value: atl::NIL. | ||
![]()  | inRadiusX | int | <0, INF> | 1 | Horizontal radius of internal mean blur. Default value: 1. | 
![]()  | inRadiusY | Atl.Optional<int> | <0, INF> | Vertical radius of internal mean blur (Auto = inRadiusX). Default value: atl::NIL. | |
![]()  | 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. | ||
![]()  | diagBaseSurface | Avl.Diagnostic<Avl.Surface> | Diagnostic blurred input surface. | 



