MatZeros Method (MatType, Int32, Int32)
|
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(
MatType type,
int cols,
params int[] sizes
)
Public Shared Function Zeros (
type As MatType,
cols As Integer,
ParamArray sizes As Integer()
) As MatExpr
public:
static MatExpr^ Zeros(
MatType type,
int cols,
... array<int>^ sizes
)
static member Zeros :
type : MatType *
cols : int *
sizes : int[] -> MatExpr
OpenCvSharp.Mat.Zeros = function(type, cols, ... sizes);
Parameters
- type
- Type: OpenCvSharpMatType
Created matrix type. - cols
- Type: SystemInt32
- sizes
- Type: SystemInt32
Return Value
Type:
MatExpr
See Also