Counts non-zero array elements
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- arr
- Type: OpenCvSharpCvArr
The array, must be single-channel array or multi-channel image with COI set.
Return Value
Type: Int32the number of non-zero elements in arr
See Also