You are here: Start » AVL.NET » AVL.SmoothPath_Gauss(AvlNet.Path, float, float, AvlNet.Path)
AVL.SmoothPath_Gauss(AvlNet.Path, float, float, AvlNet.Path)
Smooths a path by averaging its characteristic points within a kernel using gaussian-weighted average.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void SmoothPath_Gauss( AvlNet.Path inPath, float inStdDev, float inKernelRelativeSize, out AvlNet.Path outPath )
Parameters
- inPath
- Type: AvlNet.Path
Input path - inStdDev
- Type: System.Single
Smoothing standard deviation - inKernelRelativeSize
- Type: System.Single
A multiple of the standard deviation determining the size of the kernel - outPath
- Type: AvlNet.Path
Output path
Description
The operation replaces each characteristic point of the path with the local gaussian average, thus smoothing its shape. The local average is computed as a gaussian mean of the consecutive inStdDev*inKernelRelativeSize characteristic points.
Examples
![]() A sample path |
![]() |
![]() |
SmoothPath_Gauss run on the sample path with inStdDev = 0.6 and inKernelRelativeSize = 3. |
SmoothPath_Gauss run on the sample path with inStdDev = 2 and inKernelRelativeSize = 3. |



