Allocates header for the new matrix and underlying data, and returns a pointer to the created matrix.
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. - value
- Type: OpenCvSharpCvScalar
Initial value of elements
Return Value
Type:See Also