Click or drag to resize

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)
Syntax
public static void Demosaicing(
	IInputArray src,
	IOutputArray dst,
	DemosaicTypes code,
	int dcn = -1,
	Stream stream = null
)

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