Click or drag to resize
Accord.NET (logo)

Grayscale Constructor

Initializes a new instance of the Grayscale class.

Namespace:  Accord.Imaging.Filters
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntax
public Grayscale(
	double cr,
	double cg,
	double cb
)
Request Example View Source

Parameters

cr
Type: SystemDouble
Red coefficient.
cg
Type: SystemDouble
Green coefficient.
cb
Type: SystemDouble
Blue coefficient.
See Also