MatCreate Method (MatType, Int32) 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(
	MatType type,
	params int[] sizes
)

Parameters

type
Type: OpenCvSharp.CPlusPlusMatType
New matrix type.
sizes
Type: SystemInt32
Array of integers specifying a new array shape.
See Also

Reference