You are here: Start » AVL.NET » AVL.SmoothSurface_Gauss Method

AVL.SmoothSurface_Gauss Method

Smooths a surface using a gaussian kernel.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void SmoothSurface_Gauss(
	AvlNet.Surface inSurface,
	AvlNet.Region inRoi,
	float inStdDevX,
	float? inStdDevY,
	float inKernelRelativeSize,
	out AvlNet.Surface outSurface,
	out int diagKernelRadiusX,
	out int diagKernelRadiusY
)

Parameters

Name Type Range Default Description
inSurfaceAvlNet.Surface
inRoiAvlNet.RegionRange of output points to be computed. Default value: atl::NIL, or null.
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, or null.
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

Error type Description
DomainError Region of interest exceeds a surface in SmoothSurface_Gauss.

See also