MatOfUShort Constructor (IEnumerableInt32, UInt16) OpenCvSharp Class Library
constructs n-dimensional matrix

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
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

Reference