Converts image from one color space to another.
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- src
- Type: OpenCvSharpCvArr
The source 8-bit (8u), 16-bit (16u) or single-precision floating-point (32f) image. - dst
- Type: OpenCvSharpCvArr
The destination image of the same data type as the source one. The number of channels may be different. - code
- Type: OpenCvSharpColorConversion
Color conversion operation that can be specifed using CV_<src_color_space>2<dst_color_space> constants (see below).
See Also