ConvertColorSpaceToMono Method (Image, Double, Double, Double)

CVB.Net Documentation
Convert the input image to mono. The input image needs to have three planes, and is then assumed to be an RGB image.

Namespace:  Stemmer.Cvb
Assembly:  Stemmer.Cvb (in Stemmer.Cvb.dll) Version: 14.0.0.0
Syntax

public static Image ToMono(
	Image img,
	double weightR,
	double weightG,
	double weightB
)

Parameters

img
Type: Stemmer.CvbImage
Image to be converted.
weightR
Type: SystemDouble
Weight for the red channel.
weightG
Type: SystemDouble
Weight for the green channel.
weightB
Type: SystemDouble
Weight for the blue channel.

Return Value

Type: Image
Converted image.
See Also

Reference