A fast inline substitution for cvInitMatHeader. Namely, it is equivalent to: CvMat mat; cvInitMatHeader( &mat, rows, cols, type, data, CV_AUTOSTEP );

Namespace:  Emgu.CV
Assembly:  Emgu.CV (in Emgu.CV.dll) Version: 2.1.0.649 (2.1.0.649)

Syntax

         
 C#  Visual Basic  Visual 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)"]

See Also