You are here: Start » AVL.NET » Function Reference » Surface » Surface Interpolations » AVL.SmoothSurface_Mean
Smooths a surface by averaging heights within a rectangular kernel.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void SmoothSurface_Mean ( AvlNet.Surface inSurface, NullableRef<AvlNet.Region> inRoi, AvlNet.KernelShape inKernel, int inRadiusX, int? inRadiusY, AvlNet.Surface outSurface )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inSurface | AvlNet.Surface | ||||
inRoi | AvlNet.NullableRef<AvlNet.Region> | Range of points to be computed. Default value: atl::NIL. | |||
inKernel | AvlNet.KernelShape | Kernel shape. | |||
inRadiusX | int | <0, INF> | 1 | Nearly half of the kernel's width (2*R+1). Default value: 1. | |
inRadiusY | int? | <0, INF> | Nearly half of the kernel's height (2*R+1), or same as inRadiusX. Default value: atl::NIL. | ||
outSurface | AvlNet.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 SmoothSurface_Mean. |