Click or drag to resize

Cv2Decolor Method

Transforms a color image to a grayscale image. It is a basic tool in digital printing, stylized black-and-white photograph rendering, and in many single channel image processing applications @cite CL12 .

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static void Decolor(
	InputArray src,
	OutputArray grayscale,
	OutputArray colorBoost
)

Parameters

src
Type: OpenCvSharpInputArray
Input 8-bit 3-channel image.
grayscale
Type: OpenCvSharpOutputArray
Output 8-bit 1-channel image.
colorBoost
Type: OpenCvSharpOutputArray
Output 8-bit 3-channel image.
See Also