Back to FabImage Library website

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

SmoothHistogram_Mean


Header: FIL.h
Namespace: fil
Module: FoundationBasic

Smooths a histogram by averaging points within a kernel.

Syntax

C++
C#
 
void fil::SmoothHistogram_Mean
(
	const fil::Histogram& inHistogram,
	ftl::Optional<const fil::Range&> inRange,
	const int inKernelRadius,
	const bool inCyclic,
	fil::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