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: 1.0.0
Syntax
public void Create(
	MatType type,
	params int[] sizes
)

Parameters

type
Type: OpenCvSharpMatType

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

sizes
Type: SystemInt32

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

See Also