| 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
)
Public Shared Sub Decolor (
src As InputArray,
grayscale As OutputArray,
colorBoost As OutputArray
)
public:
static void Decolor(
InputArray^ src,
OutputArray^ grayscale,
OutputArray^ colorBoost
)
static member Decolor :
src : InputArray *
grayscale : OutputArray *
colorBoost : OutputArray -> unit
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