Grayscale image using R-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.RMY object instead")]
public sealed class GrayscaleRMY : Grayscale

Remarks

The class uses R-Y algorithm to convert color image to grayscale. The conversion coefficients are:
  • Red: 0.5;
  • Green: 0.419;
  • Blue: 0.081.

Inheritance Hierarchy

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

See Also