Back to Adaptive Vision Library website
You are here: Start » Function Reference » Histogram Local Transforms » SmoothHistogram_Mean
SmoothHistogram_Mean
Smooths a histogram by averaging points within a kernel.
Syntax
C++
C#
void avl::SmoothHistogram_Mean ( const avl::Histogram& inHistogram, const int inKernelRadius, avl::Histogram& outHistogram )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inHistogram | const Histogram& | Input histogram | ||
![]() |
inKernelRadius | const int | 0 - ![]() |
3 | Defines the width of the kernel as 2*R+1 |
![]() |
outHistogram | Histogram& | Output histogram |



