Back to Aurora Vision Library website

You are here: Start » Function Reference » Histogram » Histogram Local Transforms » SmoothHistogram_Mean

SmoothHistogram_Mean


Header: AVL.h
Namespace: avl
Module: FoundationBasic

Smooths a histogram by averaging points within a kernel.

Syntax

C++
C#
 
void avl::SmoothHistogram_Mean
(
	const avl::Histogram& inHistogram,
	atl::Optional<const avl::Range&> inRange,
	const int inKernelRadius,
	const bool inCyclic,
	avl::Histogram& outHistogram
)

Parameters

Name Type Range Default Description
Input value inHistogram const Histogram& Input histogram
Input value inRange Optional<const Range&> NIL
Input value inKernelRadius const int 0 - 3 Defines the width of the kernel as 2*R+1
Input value inCyclic const bool False
Output value outHistogram Histogram& Output histogram