MatCreate Method (Size, 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(
	Size size,
	MatType type
)

Parameters

size
Type: OpenCvSharp.CPlusPlusSize
Alternative new matrix size specification: Size(cols, rows)
type
Type: OpenCvSharp.CPlusPlusMatType
New matrix type.
See Also

Reference