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 - density
- Type: SystemDouble
Scan density to generate the histogram. It 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 |
---|---|
ObjectDisposedException | If the Parent of plane has already been disposed |
CvbException | when calling this method on an image plane of inappropriate data type |
See Also