MatOfByte3 Constructor (Size, Vec3b)
|
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 MatOfByte3(
Size size,
Vec3b s
)
Public Sub New (
size As Size,
s As Vec3b
)
public:
MatOfByte3(
Size size,
Vec3b s
)
new :
size : Size *
s : Vec3b -> MatOfByte3
OpenCvSharp.MatOfByte3 = function(size, s);
Parameters
- size
- Type: OpenCvSharpSize
2D array size: Size(cols, rows) . In the Size() constructor,
the number of rows and the number of columns go in the reverse order. - s
- Type: OpenCvSharpVec3b
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