Click or drag to resize
CvInvokeCountNonZero Method
http://www.emgu.com
Returns the number of non-zero elements in arr: result = sumI arr(I)!=0 In case of IplImage both ROI and COI are supported.

Namespace: Emgu.CV
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.1.0.2282 (3.1.0.2282)
Syntax
public static int CountNonZero(
	IInputArray arr
)

Parameters

arr
Type: Emgu.CVIInputArray
The image

Return Value

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