Cv2Split Method (Mat) OpenCvSharp Class Library
Copies each plane of a multi-channel array to a dedicated array

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static Mat[] Split(
	Mat src
)

Parameters

src
Type: OpenCvSharp.CPlusPlusMat
The source multi-channel array

Return Value

Type: Mat
The number of arrays must match mtx.channels() . The arrays themselves will be reallocated if needed
See Also

Reference