| 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
)
Public Sub Create (
type As MatType,
ParamArray sizes As Integer()
)
public:
void Create(
MatType type,
... array<int>^ sizes
)
member Create :
type : MatType *
sizes : int[] -> unit
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