| MatOnes Method (Size, 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(
Size size,
MatType type
)
Public Shared Function Ones (
size As Size,
type As MatType
) As MatExpr
public:
static MatExpr^ Ones(
Size size,
MatType type
)
static member Ones :
size : Size *
type : MatType -> MatExpr
Parameters
- size
- Type: OpenCvSharpSize
Alternative to the matrix size specification Size(cols, rows) . - type
- Type: OpenCvSharpMatType
Created matrix type.
Return Value
Type:
MatExpr[Missing <returns> documentation for "M:OpenCvSharp.Mat.Ones(OpenCvSharp.Size,OpenCvSharp.MatType)"]
See Also