Back to Adaptive Vision Library website
You are here: Start » Function Reference » Profile Local Transforms » SmoothProfile_Gauss
![](../../img/icon/ProfileAnalysis.png)
SmoothProfile_Gauss
Smooths a profile by averaging points within a kernel using gaussian-weighted average.
Syntax
C++
C#
void avl::SmoothProfile_Gauss ( const avl::Profile& inProfile, const float inStdDev, const float inKernelRelativeSize, const bool inCyclic, avl::Profile& outProfile )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
inProfile | const Profile& | Input profile | ||
![]() |
inStdDev | const float | 0.0 - ![]() |
0.6f | Standard deviation of the gaussian kernel |
![]() |
inKernelRelativeSize | const float | 0.0 - ![]() |
3.0f | A multiple of the standard deviation determining the size of the kernel |
![]() |
inCyclic | const bool | Defines whether the first element should be considered adjacent to the last element | ||
![]() |
outProfile | Profile& | Output profile |