Click or drag to resize
CvInvokecvCreateMat Method
http://www.emgu.com
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.CV
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.2.0.2682 (3.2.0.2682)
Syntax
public static IntPtr cvCreateMat(
	int rows,
	int cols,
	DepthType type
)

Parameters

rows
Type: SystemInt32
Number of rows in the matrix.
cols
Type: SystemInt32
Number of columns in the matrix.
type
Type: Emgu.CV.CvEnumDepthType
Type of the matrix elements.

Return Value

Type: IntPtr
A pointer to the created matrix
See Also