CvArrCountNonZero Method OpenCvSharp Class Library
Counts non-zero array elements

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public int CountNonZero()

Return Value

Type: Int32
the number of non-zero elements in arr
See Also

Reference