CvMat Method (Int32, Int32, MatrixType) OpenCvSharp Class Library
Initializes matrix header (light-weight variant)

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static CvMat Mat(
	int rows,
	int cols,
	MatrixType type
)

Parameters

rows
Type: SystemInt32
Number of rows in the matrix.
cols
Type: SystemInt32
Number of columns in the matrix.
type
Type: OpenCvSharpMatrixType
Type of the matrix elements (see CreateMat).

Return Value

Type: CvMat
The function cvMat is a fast inline substitution for cvInitMatHeader.
See Also

Reference