You are here: Start » AVL.NET » Function Reference » Profile » Profile Local Transforms » 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 | |
---|---|---|---|---|---|
inProfile | AvlNet.Profile | Input profile. | |||
inRange | AvlNet.Range? | ||||
inStdDev | float | <0.0f, INF> | 0.6f | Standard deviation of the gaussian kernel. Default value: 0.6f. | |
inKernelRelativeSize | float | <0.0f, INF> | 3.0f | A multiple of the standard deviation determining the size of the kernel. Default value: 3.0f. | |
inCyclic | bool | Defines whether the first element should be considered adjacent to the last element. | |||
outProfile | AvlNet.Profile | Output profile. |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Range exceeds the input profile in SmoothProfile_Gauss. |