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 }