Back to Aurora Vision Library website

You are here: Start » Function Reference » Data Classification » Statistics » FindDataMode_MeanShift

FindDataMode_MeanShift


Header: AVL.h
Namespace: avl
Module: FoundationPro

Finds the mode in a set of data values by iteratively computing its median.

Applications: Can be used to determine a histogram maximum without actually creating the histogram.

Syntax

C++
C#
 
void avl::FindDataMode_MeanShift
(
	const atl::Array<float>& inValues,
	int inIterationCount,
	float inSpread,
	float& outMode
)

Parameters

Name Type Range Default Description
Input value inValues const Array<float>&
Input value inIterationCount int 0 - 1000 1
Input value inSpread float 0.0 - 2.0f
Output value outMode float&