| MatTotal Method (Int32, Int32) |
Returns the total number of array elements.
The method returns the number of elements within a certain sub-array slice with startDim <= dim < endDim
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public long Total(
int startDim,
int endDim = 2147483647
)
Public Function Total (
startDim As Integer,
Optional endDim As Integer = 2147483647
) As Long
public:
long long Total(
int startDim,
int endDim = 2147483647
)
member Total :
startDim : int *
?endDim : int
(* Defaults:
let _endDim = defaultArg endDim 2147483647
*)
-> int64
Parameters
- startDim
- Type: SystemInt32
[Missing <param name="startDim"/> documentation for "M:OpenCvSharp.Mat.Total(System.Int32,System.Int32)"]
- endDim (Optional)
- Type: SystemInt32
[Missing <param name="endDim"/> documentation for "M:OpenCvSharp.Mat.Total(System.Int32,System.Int32)"]
Return Value
Type:
Int64[Missing <returns> documentation for "M:OpenCvSharp.Mat.Total(System.Int32,System.Int32)"]
See Also