Back to Aurora Vision Library website

You are here: Start » Function Reference » Histogram » Histogram Features » HistogramLocalExtrema

HistogramLocalExtrema


Header: AVL.h
Namespace: avl
Module: FoundationBasic

Computes the histogram local extrema.

Syntax

C++
C#
 
void avl::HistogramLocalExtrema
(
	const avl::Histogram& inHistogram,
	atl::Optional<const avl::Range&> inRange,
	atl::Optional<double> inMinValue,
	atl::Optional<double> inMaxValue,
	const bool inCyclic,
	const bool inConsiderPlateaus,
	avl::ExtremumType::Type inExtremumType,
	avl::HistogramInterpolationMethod::Type inInterpolationMethod,
	atl::Optional<const avl::LocalBlindness&> inLocalBlindness,
	atl::Array<avl::HistogramExtremum>& outLocalExtrema
)

Parameters

Name Type Default Description
Input value inHistogram const Histogram& Input histogram
Input value inRange Optional<const Range&> NIL Search range
Input value inMinValue Optional<double> NIL Minimum value of an extremum
Input value inMaxValue Optional<double> NIL Maximum value of an extremum
Input value inCyclic const bool False Whether to check differences between the first and last elements
Input value inConsiderPlateaus const bool Indicates whether the result should include centers of plateau extrema
Input value inExtremumType ExtremumType::Type Type of extremum to find
Input value inInterpolationMethod HistogramInterpolationMethod::Type Linear Histogram bins interpolation method
Input value inLocalBlindness Optional<const LocalBlindness&> NIL Defines conditions in which weaker extrema can be detected in the vicinity of stronger ones
Output value outLocalExtrema Array<HistogramExtremum>& Output histogram extrema