Click or drag to resize

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
)

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