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.1.0.649 (2.1.0.649)
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.