CudaInvokeSwapChannels Method |
http://www.emgu.com
Swap channels.
Namespace: Emgu.CV.CudaAssembly: Emgu.CV.Cuda (in Emgu.CV.Cuda.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntaxpublic static void SwapChannels(
IInputOutputArray src,
int[] dstOrder,
Stream stream
)
Public Shared Sub SwapChannels (
src As IInputOutputArray,
dstOrder As Integer(),
stream As Stream
)
public:
static void SwapChannels(
IInputOutputArray^ src,
array<int>^ dstOrder,
Stream^ stream
)
static member SwapChannels :
src : IInputOutputArray *
dstOrder : int[] *
stream : Stream -> unit
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