MatCreate Method (Int32, Int32, MatType) OpenCvSharp Class Library
Allocates new array data if needed.

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

public void Create(
	int rows,
	int cols,
	MatType type
)

Parameters

rows
Type: SystemInt32
New number of rows.
cols
Type: SystemInt32
New number of columns.
type
Type: OpenCvSharp.CPlusPlusMatType
New matrix type.
See Also

Reference