Back to Adaptive Vision Library website
You are here: Start » Function Reference » Profile Local Transforms » SmoothProfile_Mean
SmoothProfile_Mean
Smooths a profile by averaging points within a kernel.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::SmoothProfile_Mean ( const avl::Profile& inProfile, const int inKernelRadius, const bool inCyclic, avl::Profile& outProfile )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inProfile | const Profile& | Input profile | |||
inKernelRadius | const int | 0 - | 3 | Defines the width of the kernel as '2 * inKernelRadius + 1' | |
inCyclic | const bool | Defines whether the first element should be considered adjacent to the last element | |||
outProfile | Profile& | Output profile |