Click or drag to resize
CvInvokeMerge Method
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.World (in Emgu.CV.World.dll) Version: 3.1.0.2282 (3.1.0.2282)
Syntax
public static void Merge(
	IInputArrayOfArrays mv,
	IOutputArray dst
)

Parameters

mv
Type: Emgu.CVIInputArrayOfArrays
Input vector of matrices to be merged; all the matrices in mv must have the same size and the same depth.
dst
Type: Emgu.CVIOutputArray
output array of the same size and the same depth as mv[0]; The number of channels will be the total number of channels in the matrix array.
See Also