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
srcInputArrayInput 8-bit 3-channel image.
grayscaleOutputArrayOutput 8-bit 1-channel image.
colorBoostOutputArrayOutput 8-bit 3-channel image.