Back to Aurora Vision Library website

You are here: Start » Function Reference » Profile » Profile Local Transforms » SmoothProfile_Gauss

SmoothProfile_Gauss


Header: AVL.h
Namespace: avl
Module: FoundationPro

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

Applications: Noise removal.

Syntax

C++
C#
 
void avl::SmoothProfile_Gauss
(
	const avl::Profile& inProfile,
	atl::Optional<const avl::Range&> inRange,
	const float inStdDev,
	const float inKernelRelativeSize,
	const bool inCyclic,
	avl::Profile& outProfile
)

Parameters

Name Type Range Default Description
Input value inProfile const Profile& Input profile
Input value inRange Optional<const Range&> NIL
Input value inStdDev const float 0.0 - 0.6f Standard deviation of the gaussian kernel
Input value inKernelRelativeSize const float 0.0 - 3.0f A multiple of the standard deviation determining the size of the kernel
Input value inCyclic const bool Defines whether the first element should be considered adjacent to the last element
Output value outProfile Profile& Output profile

Errors

List of possible exceptions:

Error type Description
DomainError Range exceeds the input profile in SmoothProfile_Gauss.