Initializes a new instance of the Grayscale class.

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

Syntax

C#
public Grayscale(
	double cr,
	double cg,
	double cb
)

Parameters

cr
Type: System..::.Double
Red coefficient.
cg
Type: System..::.Double
Green coefficient.
cb
Type: System..::.Double
Blue coefficient.

See Also