CudaInvokeCvtColor Method |
http://www.emgu.com
Converts image from one color space to another
Namespace: Emgu.CV.CudaAssembly: Emgu.CV.Cuda (in Emgu.CV.Cuda.dll) Version: 3.0.0.2161 (3.0.0.2161)
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
[Missing <param name="dcn"/> documentation for "M:Emgu.CV.Cuda.CudaInvoke.CvtColor(Emgu.CV.IInputArray,Emgu.CV.IOutputArray,Emgu.CV.CvEnum.ColorConversion,System.Int32,Emgu.CV.Cuda.Stream)"]
- 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