MatOfUShort Constructor (IEnumerableInt32, UInt16)
|
constructs n-dimensional matrix
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic MatOfUShort(
IEnumerable<int> sizes,
ushort s
)
Public Sub New (
sizes As IEnumerable(Of Integer),
s As UShort
)
public:
MatOfUShort(
IEnumerable<int>^ sizes,
unsigned short s
)
new :
sizes : IEnumerable<int> *
s : uint16 -> MatOfUShort
OpenCvSharp.MatOfUShort = function(sizes, s);
Parameters
- sizes
- Type: System.Collections.GenericIEnumerableInt32
Array of integers specifying an n-dimensional array shape. - s
- Type: SystemUInt16
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