AnalyzeHistogram Method (ImagePlane, Area2D, Double)

CVB.Net Documentation
Gather and return the histogram from an 8 bits per pixel unsigned image plane.

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

public static int[] Histogram(
	this ImagePlane plane,
	Area2D aoi,
	double density
)

Parameters

plane
Type: Stemmer.CvbImagePlane
Plane to gather the histogram from
aoi
Type: Stemmer.CvbArea2D
Area in which to gather the histogram
density
Type: SystemDouble
Scan density to gather the histogram with; must be in the range [0...1]; lower densities result in higher processing speed, but will also yield histograms which are notably jagged due to the poor statistics

Return Value

Type: Int32
Histogram as an array of 256 integer values

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ImagePlane. 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 the Parent of plane is null
ObjectDisposedExceptionIf the Parent of plane has already been disposed
ArgumentOutOfRangeExceptionIf the density parameter exceeds the range [0...1]
CvbExceptionwhen calling this method on an image plane of inappropriate data type
See Also

Reference