MatOfInt Constructor (IEnumerableInt32, Int32)
|
constructs n-dimensional matrix
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic MatOfInt(
IEnumerable<int> sizes,
int s
)
Public Sub New (
sizes As IEnumerable(Of Integer),
s As Integer
)
public:
MatOfInt(
IEnumerable<int>^ sizes,
int s
)
new :
sizes : IEnumerable<int> *
s : int -> MatOfInt
OpenCvSharp.MatOfInt = function(sizes, s);
Parameters
- sizes
- Type: System.Collections.GenericIEnumerableInt32
Array of integers specifying an n-dimensional array shape. - s
- Type: SystemInt32
An optional value to initialize each matrix element with.
To set all the matrix elements to the particular value after the construction, use SetTo(Scalar s) method .
See Also