CudaInvokeCountNonZero Method (IInputArray, IOutputArray, Stream) |
http://www.emgu.com
Counts non-zero array elements
Namespace:
Emgu.CV.Cuda
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.0.3408 (4.1.0.3408)
Syntaxpublic static void CountNonZero(
IInputArray src,
IOutputArray dst,
Stream stream = null
)
Public Shared Sub CountNonZero (
src As IInputArray,
dst As IOutputArray,
Optional stream As Stream = Nothing
)
public:
static void CountNonZero(
IInputArray^ src,
IOutputArray^ dst,
Stream^ stream = nullptr
)
static member CountNonZero :
src : IInputArray *
dst : IOutputArray *
?stream : Stream
(* Defaults:
let _stream = defaultArg stream null
*)
-> unit
Parameters
- src
- Type: Emgu.CVIInputArray
Single-channel source image. - dst
- Type: Emgu.CVIOutputArray
A Gpu mat to hold the result - stream (Optional)
- Type: Emgu.CV.CudaStream
Use a Stream to call the function asynchronously (non-blocking) or null to call the function synchronously (blocking).
See Also