http://www.emgu.com
This function is the opposite to cvSplit. If the destination array has N channels then if the first N input channels are not IntPtr.Zero, all they are copied to the destination array, otherwise if only a single source channel of the first N is not IntPtr.Zero, this particular channel is copied into the destination array, otherwise an error is raised. Rest of source channels (beyond the first N) must always be IntPtr.Zero. For IplImage cvCopy with COI set can be also used to insert a single channel into the image.

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.2.1777 (2.4.2.1777)

Syntax

C#
public static void cvMerge(
	IntPtr src0,
	IntPtr src1,
	IntPtr src2,
	IntPtr src3,
	IntPtr dst
)
Visual Basic
Public Shared Sub cvMerge ( _
	src0 As IntPtr, _
	src1 As IntPtr, _
	src2 As IntPtr, _
	src3 As IntPtr, _
	dst As IntPtr _
)
Visual C++
public:
static void cvMerge(
	IntPtr src0, 
	IntPtr src1, 
	IntPtr src2, 
	IntPtr src3, 
	IntPtr dst
)

Parameters

src0
Type: System..::..IntPtr
Input channels.
src1
Type: System..::..IntPtr
Input channels.
src2
Type: System..::..IntPtr
Input channels.
src3
Type: System..::..IntPtr
Input channels.
dst
Type: System..::..IntPtr
Destination array.

See Also