Emgu CV Library Documentation
cvCreateMat Method (rows, cols, type)
NamespacesEmgu.CVCvInvokecvCreateMat(Int32, Int32, MAT_DEPTH)

www.emgu.com/wiki
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.
Declaration Syntax
C#Visual BasicVisual C++
public static IntPtr cvCreateMat(
	int rows,
	int cols,
	MAT_DEPTH type
)
Public Shared Function cvCreateMat ( _
	rows As Integer, _
	cols As Integer, _
	type As MAT_DEPTH _
) As IntPtr
public:
static IntPtr cvCreateMat(
	int rows, 
	int cols, 
	MAT_DEPTH type
)
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.
Return Value
A pointer to the created matrix

Assembly: Emgu.CV (Module: Emgu.CV) Version: 1.3.0.0 (1.3.0.0)