Click or drag to resize

SparseMatCreate 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: OpenCvSharpMatType
sizes
Type: SystemInt32
See Also