Emgu CV Library Documentation
cvMat Method (rows, cols, type, data)
NamespacesEmgu.CVCvInvokecvMat(Int32, Int32, MAT_DEPTH, IntPtr)

www.emgu.com/wiki
A fast inline substitution for cvInitMatHeader. Namely, it is equivalent to: CvMat mat; cvInitMatHeader( &mat, rows, cols, type, data, CV_AUTOSTEP );
Declaration Syntax
C#Visual BasicVisual C++
public static IntPtr cvMat(
	int rows,
	int cols,
	MAT_DEPTH type,
	IntPtr data
)
Public Shared Function cvMat ( _
	rows As Integer, _
	cols As Integer, _
	type As MAT_DEPTH, _
	data As IntPtr _
) As IntPtr
public:
static IntPtr cvMat(
	int rows, 
	int cols, 
	MAT_DEPTH type, 
	IntPtr data
)
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 (see CreateMat).
data (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)]

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