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: 4.1.1.3497 (4.1.1.3497)
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