| MatOnes Method (Int32, Int32, MatType) |
Returns an array of all 1’s of the specified size and type.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static MatExpr Ones(
int rows,
int cols,
MatType type
)
Public Shared Function Ones (
rows As Integer,
cols As Integer,
type As MatType
) As MatExpr
public:
static MatExpr^ Ones(
int rows,
int cols,
MatType type
)
static member Ones :
rows : int *
cols : int *
type : MatType -> MatExpr
Parameters
- rows
- Type: SystemInt32
Number of rows. - cols
- Type: SystemInt32
Number of columns. - type
- Type: OpenCvSharpMatType
Created matrix type.
Return Value
Type:
MatExpr[Missing <returns> documentation for "M:OpenCvSharp.Mat.Ones(System.Int32,System.Int32,OpenCvSharp.MatType)"]
See Also