ImageStatisticsHSL Class |
Namespace: Accord.Imaging
The ImageStatisticsHSL type exposes the following members.
Name | Description | |
---|---|---|
ImageStatisticsHSL(Bitmap) |
Initializes a new instance of the ImageStatisticsHSL class.
| |
ImageStatisticsHSL(UnmanagedImage) |
Initializes a new instance of the ImageStatisticsHSL class.
| |
ImageStatisticsHSL(Bitmap, Byte) |
Initializes a new instance of the ImageStatisticsHSL class.
| |
ImageStatisticsHSL(Bitmap, Bitmap) |
Initializes a new instance of the ImageStatisticsHSL class.
| |
ImageStatisticsHSL(UnmanagedImage, UnmanagedImage) |
Initializes a new instance of the ImageStatisticsHSL class.
| |
ImageStatisticsHSL(UnmanagedImage, Byte) |
Initializes a new instance of the ImageStatisticsHSL class.
|
Name | Description | |
---|---|---|
Luminance |
Histogram of luminance channel.
| |
LuminanceWithoutBlack |
Histogram of luminance channel excluding black pixels.
| |
PixelsCount |
Total pixels count in the processed image.
| |
PixelsCountWithoutBlack |
Total pixels count in the processed image excluding black pixels.
| |
Saturation |
Histogram of saturation channel.
| |
SaturationWithoutBlack |
Histogram of saturation channel excluding black pixels.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (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.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
HasMethod |
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.) | |
IsEqual |
Compares two objects for equality, performing an elementwise
comparison if the elements are vectors or matrices.
(Defined by Matrix.) | |
To(Type) | Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) | |
ToT | Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) |
The class is used to accumulate statistical values about images, like histogram, mean, standard deviation, etc. for each HSL color channel.
The class accepts 24 and 32 bpp color images for processing.
Sample usage:
// gather statistics ImageStatisticsHSL stat = new ImageStatisticsHSL( image ); // get saturation channel's histogram ContinuousHistogram saturation = stat.Saturation; // check mean value of saturation channel if ( saturation.Mean > 0.5 ) { // do further processing }