Click or drag to resize

MatOfUShort Constructor (IEnumerableInt32, UInt16)

constructs n-dimensional matrix

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public MatOfUShort(
	IEnumerable<int> sizes,
	ushort 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