ImageStatisticsYCbCr Class |
Namespace: Accord.Imaging
The ImageStatisticsYCbCr type exposes the following members.
Name | Description | |
---|---|---|
ImageStatisticsYCbCr(Bitmap) |
Initializes a new instance of the ImageStatisticsYCbCr class.
| |
ImageStatisticsYCbCr(UnmanagedImage) |
Initializes a new instance of the ImageStatisticsYCbCr class.
| |
ImageStatisticsYCbCr(Bitmap, Byte) |
Initializes a new instance of the ImageStatisticsYCbCr class.
| |
ImageStatisticsYCbCr(Bitmap, Bitmap) |
Initializes a new instance of the ImageStatisticsYCbCr class.
| |
ImageStatisticsYCbCr(UnmanagedImage, UnmanagedImage) |
Initializes a new instance of the ImageStatisticsYCbCr class.
| |
ImageStatisticsYCbCr(UnmanagedImage, Byte) |
Initializes a new instance of the ImageStatisticsYCbCr class.
|
Name | Description | |
---|---|---|
Cb |
Histogram of Cb channel.
| |
CbWithoutBlack |
Histogram of Cb channel excluding black pixels
| |
Cr |
Histogram of Cr channel.
| |
CrWithoutBlack |
Histogram of Cr channel excluding black pixels
| |
PixelsCount |
Total pixels count in the processed image.
| |
PixelsCountWithoutBlack |
Total pixels count in the processed image excluding black pixels.
| |
Y |
Histogram of Y channel.
| |
YWithoutBlack |
Histogram of Y 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 YCbCr color channel.
The class accepts 24 and 32 bpp color images for processing.
Sample usage:
// gather statistics ImageStatisticsYCbCr stat = new ImageStatisticsYCbCr( image ); // get Y channel's histogram ContinuousHistogram y = stat.Y; // check mean value of Y channel if ( y.Mean > 0.5 ) { // do further processing }