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
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: Int32Histogram 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
Exception | Condition |
---|---|
ArgumentNullException | If the Parent of plane is null |
ObjectDisposedException | If the Parent of plane has already been disposed |
ArgumentOutOfRangeException | If the density parameter exceeds the range [0...1] |
CvbException | when calling this method on an image plane of inappropriate data type |
See Also