Allocates header for the new matrix and underlying data, and returns a pointer to the created matrix. (cvCreateMatHeader + cvSetData)
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- rows
- Type: SystemInt32
Number of rows in the matrix. - cols
- Type: SystemInt32
Number of columns in the matrix. - type
- Type: OpenCvSharpMatrixType
Type of the matrix elements. - elements
- Type: SystemArray
Data of elements. The type of the array must be blittable. - copyData
- Type: SystemBoolean
[Missing <param name="copyData"/> documentation for "M:OpenCvSharp.CvMat.#ctor(System.Int32,System.Int32,OpenCvSharp.MatrixType,System.Array,System.Boolean)"]
Return Value
Type:See Also