Click or drag to resize

MatCountNonZero Method

computes the number of nonzero array elements

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public int CountNonZero()

Return Value

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