Click or drag to resize

SparseMat.Create Method

Reallocates sparse matrix. If the matrix already had the proper size and type, it is simply cleared with clear(), otherwise, the old matrix is released (using release()) and the new one is allocated.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public void Create(
	MatType type,
	params int[] sizes
)

Parameters

type
Type: OpenCvSharp.MatType
sizes
Type:System.Int32[]
See Also