A fast inline substitution for cvInitMatHeader. Namely, it is equivalent to:
CvMat mat;
cvInitMatHeader( &mat, rows, cols, type, data, CV_AUTOSTEP );
Namespace:
Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax
C# |
---|
public static IntPtr cvMat( int rows, int cols, MAT_DEPTH type, IntPtr data ) |
Visual Basic (Declaration) |
---|
Public Shared Function cvMat ( _ rows As Integer, _ cols As Integer, _ type As MAT_DEPTH, _ data As IntPtr _ ) As IntPtr |
Visual C++ |
---|
public: static IntPtr cvMat( int rows, int cols, MAT_DEPTH type, IntPtr data ) |
Parameters
- rows
- Type: System..::.Int32
Number of rows in the matrix.
- cols
- Type: System..::.Int32
Number of columns in the matrix.
- type
- Type: Emgu.CV.CvEnum..::.MAT_DEPTH
Type of the matrix elements (see CreateMat).
- data
- Type: System..::.IntPtr
Optional data pointer assigned to the matrix header.
Return Value
[Missing <returns> documentation for "M:Emgu.CV.CvInvoke.cvMat(System.Int32,System.Int32,Emgu.CV.CvEnum.MAT_DEPTH,System.IntPtr)"]