Initializes a new instance of the Histogram class.

Namespace:  AForge.Math
Assembly:  AForge.Math (in AForge.Math.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public Histogram(
	int[] values
)

Parameters

values
Type: array< System..::.Int32 >[]()[]
Values of the histogram.

Remarks

Indexes of the input array are treated as values of stochastic function, but array values are treated as "probabilities" (total amount of hits).

See Also