 | Cv2.Split Method (Mat,Mat[]) |
Copies each plane of a multi-channel array to a dedicated array
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntaxpublic static void Split(
Mat src,
out Mat[] mv
)
Public Shared Sub Split (
src As Mat,
<OutAttribute> ByRef mv As Mat()
)
public:
static void Split(
Mat^ src,
[OutAttribute] array<Mat^>^% mv
)
static member Split :
src : Mat *
mv : Mat[] byref -> unit
Parameters
- src
- Type: OpenCvSharp.Mat
The source multi-channel array - mv
- Type:OpenCvSharp.Mat[]
The destination array or vector of arrays;
The number of arrays must match mtx.channels() .
The arrays themselves will be reallocated if needed
See Also