MatOfFloat4 Constructor (Int32, Int32, Vec4f)
|
constucts 2D matrix and fills it with the specified Scalar value.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic MatOfFloat4(
int rows,
int cols,
Vec4f s
)
Public Sub New (
rows As Integer,
cols As Integer,
s As Vec4f
)
public:
MatOfFloat4(
int rows,
int cols,
Vec4f s
)
new :
rows : int *
cols : int *
s : Vec4f -> MatOfFloat4
OpenCvSharp.MatOfFloat4 = function(rows, cols, s);
Parameters
- rows
- Type: SystemInt32
Number of rows in a 2D array. - cols
- Type: SystemInt32
Number of columns in a 2D array. - s
- Type: OpenCvSharpVec4f
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