| MatOnes Method (MatType, Int32) |
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(
MatType type,
params int[] sizes
)
Public Shared Function Ones (
type As MatType,
ParamArray sizes As Integer()
) As MatExpr
public:
static MatExpr^ Ones(
MatType type,
... array<int>^ sizes
)
static member Ones :
type : MatType *
sizes : int[] -> MatExpr
Parameters
- type
- Type: OpenCvSharpMatType
Created matrix type. - sizes
- Type: SystemInt32
Array of integers specifying the array shape.
Return Value
Type:
MatExpr[Missing <returns> documentation for "M:OpenCvSharp.Mat.Ones(OpenCvSharp.MatType,System.Int32[])"]
See Also