Click or drag to resize

CvInvokeSplit Method

http://www.emgu.com
Divides a multi-channel array into separate single-channel arrays. Two modes are available for the operation. If the source array has N channels then if the first N destination channels are not IntPtr.Zero, all they are extracted from the source array, otherwise if only a single destination channel of the first N is not IntPtr.Zero, this particular channel is extracted, otherwise an error is raised. Rest of destination channels (beyond the first N) must always be IntPtr.Zero. For IplImage cvCopy with COI set can be also used to extract a single channel from the image

Namespace:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntax
public static void Split(
	IInputArray src,
	IOutputArray mv
)

Parameters

src
Type: Emgu.CVIInputArray
Input multi-channel array
mv
Type: Emgu.CVIOutputArray
Output array or vector of arrays
See Also