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