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 (in Emgu.CV.dll) Version: 2.4.0.1717 (2.4.0.1717)

Syntax

C#
public static void cvCvtPixToPlane(
	IntPtr src,
	IntPtr dst0,
	IntPtr dst1,
	IntPtr dst2,
	IntPtr dst3
)
Visual Basic
Public Shared Sub cvCvtPixToPlane ( _
	src As IntPtr, _
	dst0 As IntPtr, _
	dst1 As IntPtr, _
	dst2 As IntPtr, _
	dst3 As IntPtr _
)
Visual C++
public:
static void cvCvtPixToPlane(
	IntPtr src, 
	IntPtr dst0, 
	IntPtr dst1, 
	IntPtr dst2, 
	IntPtr dst3
)

Parameters

src
Type: System..::..IntPtr
Source array
dst0
Type: System..::..IntPtr
Destination channels
dst1
Type: System..::..IntPtr
Destination channels
dst2
Type: System..::..IntPtr
Destination channels
dst3
Type: System..::..IntPtr
Destination channels

See Also