http://www.emgu.com
Counts non-zero array elements

Namespace: Emgu.CV.GPU
Assembly: Emgu.CV.GPU (in Emgu.CV.GPU.dll) Version: 2.4.10.1935 (2.4.10.1935)

Syntax

C#
public static int CountNonZero(
	IntPtr src
)
Visual Basic
Public Shared Function CountNonZero ( 
	src As IntPtr
) As Integer
Visual C++
public:
static int CountNonZero(
	IntPtr src
)
F#
static member CountNonZero : 
        src : IntPtr -> int 

Parameters

src
Type: System..::..IntPtr
The GpuMat

Return Value

Type: Int32
The number of non-zero GpuMat elements

See Also