Method Zeros
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Zeros(int, int, MatType)
Returns a zero array of the specified size and type.
public static MatExpr Zeros(int rows, int cols, MatType type)
Parameters
Returns
Zeros(Size, MatType)
Returns a zero array of the specified size and type.
public static MatExpr Zeros(Size size, MatType type)
Parameters
sizeSizeAlternative to the matrix size specification Size(cols, rows) .
typeMatTypeCreated matrix type.
Returns
Zeros(MatType, params int[])
Returns a zero array of the specified size and type.
public static MatExpr Zeros(MatType type, params int[] sizes)
Parameters
Returns
Zeros(MatShape, MatType)
Returns a zero array of the specified shape and type (OpenCV 5, MatShape).
public static MatExpr Zeros(MatShape shape, MatType type)