SparseMat Constructor (IEnumerable<Int32> , MatType)
|
constructs n-dimensional sparse matrix
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic SparseMat(
IEnumerable<int> sizes,
MatType type
)
Public Sub New (
sizes As IEnumerable(Of Integer),
type As MatType
)
public:
SparseMat(
IEnumerable<int>^ sizes,
MatType type
)
new :
sizes : IEnumerable<int> *
type : MatType -> SparseMat
OpenCvSharp.SparseMat = function(sizes, type);
Parameters
- sizes
- Type: System.Collections.Generic.IEnumerable<Int32>
Array of integers specifying an n-dimensional array shape. - type
- Type: OpenCvSharp.MatType
Array type. Use MatType.CV_8UC1, ..., CV_64FC4 to create 1-4 channel matrices,
or MatType. CV_8UC(n), ..., CV_64FC(n) to create multi-channel matrices.
See Also