MatZeros Method (Int32, Int32, MatType)
|
Returns a zero array of the specified size and type.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic static MatExpr Zeros(
int rows,
int cols,
MatType type
)
Public Shared Function Zeros (
rows As Integer,
cols As Integer,
type As MatType
) As MatExpr
public:
static MatExpr^ Zeros(
int rows,
int cols,
MatType type
)
static member Zeros :
rows : int *
cols : int *
type : MatType -> MatExpr
OpenCvSharp.Mat.Zeros = function(rows, cols, type);
Parameters
- rows
- Type: SystemInt32
Number of rows. - cols
- Type: SystemInt32
Number of columns. - type
- Type: OpenCvSharpMatType
Created matrix type.
Return Value
Type:
MatExpr
See Also