Allocates header for the new matrix and underlying data, and returns a pointer to the created matrix. Matrices are stored row by row. All the rows are aligned by 4 bytes.
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.2.1.1150 (2.2.1.1150)
Syntax
C# | Visual Basic | Visual C++ |
Parameters
- rows
- Int32
Number of rows in the matrix.
- cols
- Int32
Number of columns in the matrix.
- type
- MAT_DEPTH
Type of the matrix elements.