Returns an array of all 1’s of the specified size and type.
Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- rows
- Type: SystemInt32
Number of rows. - cols
- Type: SystemInt32
Number of columns. - type
- Type: OpenCvSharp.CPlusPlusMatType
Created matrix type.
Return Value
Type: MatExpr[Missing <returns> documentation for "M:OpenCvSharp.CPlusPlus.Mat.Ones(System.Int32,System.Int32,OpenCvSharp.CPlusPlus.MatType)"]
See Also