Back to FabImage Library website

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

SmoothHistogram_Mean


Header:FIL.h
Namespace:fil

Smooths a histogram by averaging points within a kernel.

Syntax

C++
C#
 
void fil::SmoothHistogram_Mean
(
	const fil::Histogram& inHistogram,
	const int inKernelRadius,
	fil::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