CvCreateMatHeader Method OpenCvSharp Class Library
allocates new matrix header and returns pointer to it. The matrix data can further be allocated using cvCreateData or set explicitly to user-allocated data via cvSetData.

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

public static CvMat CreateMatHeader(
	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.

Return Value

Type: CvMat

[Missing <returns> documentation for "M:OpenCvSharp.Cv.CreateMatHeader(System.Int32,System.Int32,OpenCvSharp.MatrixType)"]

See Also

Reference