Standard deviation.

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

Syntax

C#
public float StdDev { get; }

Remarks

The property allows to retrieve standard deviation value of the histogram.

Sample usage:

CopyC#
// create histogram
ContinuousHistogram histogram = new ContinuousHistogram(
    new int[] { 0, 0, 8, 4, 2, 4, 7, 1, 0 }, new Range( 0.0f, 1.0f ) );
// get std.dev. value (= 0.215)
Console.WriteLine( "std.dev. = " + histogram.StdDev.ToString( "F3" ) );

See Also