CvMat Constructor (Int32, Int32, MatrixType, CvScalar) OpenCvSharp Class Library
Allocates header for the new matrix and underlying data, and returns a pointer to the created matrix.

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

public CvMat(
	int rows,
	int cols,
	MatrixType type,
	CvScalar value
)

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.
value
Type: OpenCvSharpCvScalar
Initial value of elements

Return Value

Type: 
See Also

Reference