A single histogram result.
Inheritance Hierarchy
Stemmer.Cvb.FoundationHistogram
Namespace: Stemmer.Cvb.Foundation
Assembly: Stemmer.Cvb.Foundation (in Stemmer.Cvb.Foundation.dll) Version: 14.0.0.0
Syntax
public class Histogram : IList<long>, ICollection<long>, IEnumerable<long>, IEnumerable
The Histogram type exposes the following members.
Properties
Name | Description | |
---|---|---|
Count |
Gets the number of elements in this histogram.
| |
IsReadOnly |
The histogram data is read-only.
| |
Item |
The indexer for accessing the histogram data itself.
| |
Max |
Get the maximum gray value of the histogram.
| |
Mean |
Mean value of all pixels.
| |
Median |
The median (gray value at which roughly 50% of the pixels are darker
and 50% of the pixels are brighter than this gray value).
| |
Min |
Get the minimum gray value of the histogram.
| |
Mode |
Gets the mode (the most common gray value) of the histogram.
| |
NumPixels |
Total number of pixels taken into account.
| |
StandardDeviation |
Get the standard deviation of the histogram.
| |
Variance |
Get the variance of the histogram.
|
Methods
Name | Description | |
---|---|---|
Add |
Not supported as the histogram is read-only.
| |
Clear |
Not supported as the histogram is read-only.
| |
Contains |
Gets whether the count is inside this histogram.
| |
CopyTo |
Copies the elements of this histogram to the given
array starting at arrayIndex.
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetEnumerator |
Gets the enumerator enumerating this histogram.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IndexOf |
Gets the index of the first found count.
| |
Insert |
Not supported as the histogram is read-only.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Remove |
Not supported as the histogram is read-only.
| |
RemoveAt |
Not supported as the histogram is read-only.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
Name | Description | |
---|---|---|
Filter |
Filter a histogram array with the given kernel.
At the beginning and end of the histogram, the histogram uses constant
extension
(Defined by HistogramExtensions.) | |
FindPeaks |
Find peaks in the histogram identified by the supplied criteria.
(Defined by HistogramExtensions.) | |
SumBetween |
Count the number of pixels that lie between two limits in the
histogram.
(Defined by HistogramExtensions.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
IEnumerableGetEnumerator |
Gets the enumerator enumerating this histogram.
| |
IListInt64Item | Gets or sets the element at the specified index. |
See Also