Creates CvMat from generic rectangular array.
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static CvMat FromArray<T>( T[,] data, MatrixType type ) where T : struct, new()
Parameters
- data
- Type: T
[Missing <param name="data"/> documentation for "M:OpenCvSharp.CvMat.FromArray``1(``0[0:,0:],OpenCvSharp.MatrixType)"]
- type
- Type: OpenCvSharpMatrixType
[Missing <param name="type"/> documentation for "M:OpenCvSharp.CvMat.FromArray``1(``0[0:,0:],OpenCvSharp.MatrixType)"]
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "M:OpenCvSharp.CvMat.FromArray``1(``0[0:,0:],OpenCvSharp.MatrixType)"]
Return Value
Type: CvMat[Missing <returns> documentation for "M:OpenCvSharp.CvMat.FromArray``1(``0[0:,0:],OpenCvSharp.MatrixType)"]
See Also