Table of Contents

Method Decolor

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

Decolor(InputArray, OutputArray, OutputArray)

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 .

public static void Decolor(InputArray src, OutputArray grayscale, OutputArray colorBoost)

Parameters

src InputArray

Input 8-bit 3-channel image.

grayscale OutputArray

Output 8-bit 1-channel image.

colorBoost OutputArray

Output 8-bit 3-channel image.