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

AVL.SmoothSurface_Gauss

Smooths a surface using a gaussian kernel.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void SmoothSurface_Gauss
(
	AvlNet.Surface inSurface,
	NullableRef<AvlNet.Region> inRoi,
	float inStdDevX,
	float? inStdDevY,
	float inKernelRelativeSize,
	AvlNet.Surface outSurface,
	out int diagKernelRadiusX,
	out int diagKernelRadiusY
)

Parameters

Name Type Range Default Description
inSurfaceAvlNet.Surface
inRoiAvlNet.NullableRef<AvlNet.Region>Range of output points to be computed. Default value: atl::NIL.
inStdDevXfloat<0.0f, INF>1.0fHorizontal smoothing standard deviation. Default value: 1.0f.
inStdDevYfloat?<0.0f, INF>Vertical smoothing standard deviation. Default value: atl::NIL.
inKernelRelativeSizefloat<0.0f, 3.0f>2.0fA multiple of the standard deviation determining the size of the kernel. Default value: 2.0f.
outSurfaceAvlNet.Surface
diagKernelRadiusXintHorizontal radius of Gaussian kernel being used.
diagKernelRadiusYintVertical radius of Gaussian kernel being used.

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 a surface in SmoothSurface_Gauss.

Function Overrides

See also