Grayscale image using Y algorithm.

Namespace:  AForge.Imaging.Filters
Assembly:  AForge.Imaging (in AForge.Imaging.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
[ObsoleteAttribute("Use Grayscale.CommonAlgorithms.Y object instead")]
public sealed class GrayscaleY : Grayscale

Remarks

The class uses Y algorithm to convert color image to grayscale. The conversion coefficients are:
  • Red: 0.299;
  • Green: 0.587;
  • Blue: 0.114.

Inheritance Hierarchy

System..::.Object
  AForge.Imaging.Filters..::.BaseFilter
    AForge.Imaging.Filters..::.Grayscale
      AForge.Imaging.Filters..::.GrayscaleY

See Also