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
Syntaxpublic 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
function Create(type, ... sizes);
Parameters
- type
- Type: OpenCvSharpMatType
- sizes
- Type: SystemInt32
See Also