http://www.emgu.com
Swap channels.
Namespace: Emgu.CV.GPUAssembly: Emgu.CV.GPU (in Emgu.CV.GPU.dll) Version: 2.4.2.1777 (2.4.2.1777)
Syntax
C# |
---|
public static void SwapChannels(
IntPtr src,
int[] dstOrder,
IntPtr stream
) |
Visual Basic |
---|
Public Shared Sub SwapChannels ( _
src As IntPtr, _
dstOrder As Integer(), _
stream As IntPtr _
) |
Visual C++ |
---|
public:
static void SwapChannels(
IntPtr src,
array<int>^ dstOrder,
IntPtr stream
) |
Parameters
- src
- Type: System..::..IntPtr
The image where the channels will be swapped
- dstOrder
- Type: array<System..::..Int32>[]()[][]
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: System..::..IntPtr
Use a Stream to call the function asynchronously (non-blocking) or IntPtr.Zero to call the function synchronously (blocking).
See Also