CudaInvokeDemosaicing Method |
http://www.emgu.com
Converts an image from Bayer pattern to RGB or grayscale.
Namespace:
Emgu.CV.Cuda
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.0.3408 (4.1.0.3408)
Syntaxpublic static void Demosaicing(
IInputArray src,
IOutputArray dst,
DemosaicTypes code,
int dcn = -1,
Stream stream = null
)
Public Shared Sub Demosaicing (
src As IInputArray,
dst As IOutputArray,
code As DemosaicTypes,
Optional dcn As Integer = -1,
Optional stream As Stream = Nothing
)
public:
static void Demosaicing(
IInputArray^ src,
IOutputArray^ dst,
DemosaicTypes code,
int dcn = -1,
Stream^ stream = nullptr
)
static member Demosaicing :
src : IInputArray *
dst : IOutputArray *
code : DemosaicTypes *
?dcn : int *
?stream : Stream
(* Defaults:
let _dcn = defaultArg dcn -1
let _stream = defaultArg stream null
*)
-> unit
Parameters
- src
- Type: Emgu.CVIInputArray
Source image (8-bit or 16-bit single channel). - dst
- Type: Emgu.CVIOutputArray
Destination image. - code
- Type: Emgu.CV.CudaDemosaicTypes
Color space conversion code (see the description below). - 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
Stream for the asynchronous version.
See Also