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.
Return Value
Type:See Also