You are here: Start » AVL.NET » Function Reference » Surface » Surface Interpolations » AVL.SmoothSurface_Mean

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
inSurfaceAvlNet.Surface
inRoiAvlNet.NullableRef<AvlNet.Region>Range of points to be computed. Default value: atl::NIL.
inKernelAvlNet.KernelShapeKernel shape.
inRadiusXint<0, INF>1Nearly half of the kernel's width (2*R+1). Default value: 1.
inRadiusYint?<0, INF>Nearly half of the kernel's height (2*R+1), or same as inRadiusX. Default value: atl::NIL.
outSurfaceAvlNet.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.

Function Overrides

See also