HistogramExtensionsFindPeaks Method (IListInt32, Int32, Int32)

CVB.Net Documentation
Find peaks in the histogram identified by the supplied criteria.

Namespace:  Stemmer.Cvb.Foundation
Assembly:  Stemmer.Cvb.Foundation (in Stemmer.Cvb.Foundation.dll) Version: 14.0.0.0
Syntax

public static int[] FindPeaks(
	this IList<int> histogram,
	int blurSize,
	int minDiff
)

Parameters

histogram
Type: System.Collections.GenericIListInt32
Histogram to analyze.
blurSize
Type: SystemInt32
Averaging window size (must be >= 1).
minDiff
Type: SystemInt32
Minimum grey value difference between two peaks.

Return Value

Type: Int32
Peak positions in the histogram.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IListInt32. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions

ExceptionCondition
ArgumentNullExceptionIf histogram is null.
ArgumentOutOfRangeExceptionIf blurSize or minDiff are out of rang.e
See Also

Reference