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 }