Click or drag to resize

CudaInvokeSwapChannels Method

http://www.emgu.com
Swap channels.

Namespace:  Emgu.CV.Cuda
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.0.1.3373 (4.0.1.3373)
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