Back to FabImage Library website

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

SmoothHistogram_Gauss


Header: FIL.h
Namespace: fil
Module: FoundationBasic

Smooths a histogram by averaging points within a kernel using gaussian-weighted average.

Syntax

C++
C#
 
void fil::SmoothHistogram_Gauss
(
	const fil::Histogram& inHistogram,
	ftl::Optional<const fil::Range&> inRange,
	const float inStdDev,
	const float inKernelRelativeSize,
	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 inStdDev const float 0.0 - 0.6f Smoothing standard deviation
Input value inKernelRelativeSize const float 0.0 - 3.0f
Input value inCyclic const bool False
Output value outHistogram Histogram& Output histogram