You are here: Start » AVL.NET » Function Reference » Profile » Profile Local Transforms » AVL.SmoothProfile_Gauss

AVL.SmoothProfile_Gauss

Smooths a profile by averaging points within a kernel using gaussian-weighted average.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void SmoothProfile_Gauss
(
	AvlNet.Profile inProfile,
	AvlNet.Range? inRange,
	float inStdDev,
	float inKernelRelativeSize,
	bool inCyclic,
	AvlNet.Profile outProfile
)

Parameters

Name Type Range Default Description
inProfileAvlNet.ProfileInput profile.
inRangeAvlNet.Range?
inStdDevfloat<0.0f, INF>0.6fStandard deviation of the gaussian kernel. Default value: 0.6f.
inKernelRelativeSizefloat<0.0f, INF>3.0fA multiple of the standard deviation determining the size of the kernel. Default value: 3.0f.
inCyclicboolDefines whether the first element should be considered adjacent to the last element.
outProfileAvlNet.ProfileOutput profile.

Errors

List of possible exceptions:

Error type Description
DomainError Range exceeds the input profile in SmoothProfile_Gauss.

Function Overrides

See also