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.Platform.NetStandard (in Emgu.CV.Platform.NetStandard.dll) Version: 4.3.0.3890
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