Mat.Zeros Method (Size, 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(
Size size,
MatType type
)
Public Shared Function Zeros (
size As Size,
type As MatType
) As MatExpr
public:
static MatExpr^ Zeros(
Size size,
MatType type
)
static member Zeros :
size : Size *
type : MatType -> MatExpr
OpenCvSharp.Mat.Zeros = function(size, type);
Parameters
- size
- Type: OpenCvSharp.Size
Alternative to the matrix size specification Size(cols, rows) . - type
- Type: OpenCvSharp.MatType
Created matrix type.
Return Value
Type:
MatExpr
See Also