GrayscaleCommonAlgorithmsY Field |
Namespace: Accord.Imaging.Filters
The instance uses Y algorithm to convert color image to grayscale. The conversion coefficients are:
Sample usage:
// apply the filter
Bitmap grayImage = Grayscale.CommonAlgorithms.Y.Apply( image );