Click or drag to resize
CudaInvokeSwapChannels Method
http://www.emgu.com
Swap channels.

Namespace: Emgu.CV.Cuda
Assembly: Emgu.CV.Cuda (in Emgu.CV.Cuda.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntax
public static void SwapChannels(
	IInputOutputArray src,
	int[] dstOrder,
	Stream stream
)

Parameters

src
Type: Emgu.CVIInputOutputArray
The image where the channels will be swapped
dstOrder
Type: SystemInt32
Integer array describing how channel values are permutated. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGBA image, aDstOrder = [3,2,1,0] converts this to ABGR channel order.
stream
Type: Emgu.CV.CudaStream
Use a Stream to call the function asynchronously (non-blocking) or null to call the function synchronously (blocking).
See Also