SparseMatCreate Method OpenCvSharp Class Library
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.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

[Missing <param name="type"/> documentation for "M:OpenCvSharp.CPlusPlus.SparseMat.Create(OpenCvSharp.CPlusPlus.MatType,System.Int32[])"]

sizes
Type: SystemInt32

[Missing <param name="sizes"/> documentation for "M:OpenCvSharp.CPlusPlus.SparseMat.Create(OpenCvSharp.CPlusPlus.MatType,System.Int32[])"]

See Also

Reference