CudaInvokeCvtColor Method |
http://www.emgu.com
Converts image from one color space to another
Namespace:
Emgu.CV.Cuda
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.0.1.3373 (4.0.1.3373)
Syntaxpublic static void CvtColor(
IInputArray src,
IOutputArray dst,
ColorConversion code,
int dcn = 0,
Stream stream = null
)
Public Shared Sub CvtColor (
src As IInputArray,
dst As IOutputArray,
code As ColorConversion,
Optional dcn As Integer = 0,
Optional stream As Stream = Nothing
)
public:
static void CvtColor(
IInputArray^ src,
IOutputArray^ dst,
ColorConversion code,
int dcn = 0,
Stream^ stream = nullptr
)
static member CvtColor :
src : IInputArray *
dst : IOutputArray *
code : ColorConversion *
?dcn : int *
?stream : Stream
(* Defaults:
let _dcn = defaultArg dcn 0
let _stream = defaultArg stream null
*)
-> unit
Parameters
- src
- Type: Emgu.CVIInputArray
The source GpuMat - dst
- Type: Emgu.CVIOutputArray
The destination GpuMat - code
- Type: Emgu.CV.CvEnumColorConversion
The color conversion code - dcn (Optional)
- Type: SystemInt32
Number of channels in the destination image. If the parameter is 0, the number of the channels is derived automatically from src and the code . - stream (Optional)
- Type: Emgu.CV.CudaStream
Use a Stream to call the function asynchronously (non-blocking) or null to call the function synchronously (blocking).
See Also