Click or drag to resize

CudaInvokeReduce Method

http://www.emgu.com
Reduces GpuMat to a vector by treating the GpuMat rows/columns as a set of 1D vectors and performing the specified operation on the vectors until a single row/column is obtained.

Namespace:  Emgu.CV.Cuda
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.0.1.3373 (4.0.1.3373)
Syntax
public static void Reduce(
	IInputArray mtx,
	IOutputArray vec,
	ReduceDimension dim,
	ReduceType reduceOp,
	DepthType dType = DepthType.Default,
	Stream stream = null
)

Parameters

mtx
Type: Emgu.CVIInputArray
The input GpuMat
vec
Type: Emgu.CVIOutputArray
Destination vector. Its size and type is defined by dim and dtype parameters
dim
Type: Emgu.CV.CvEnumReduceDimension
Dimension index along which the matrix is reduced. 0 means that the matrix is reduced to a single row. 1 means that the matrix is reduced to a single column.
reduceOp
Type: Emgu.CV.CvEnumReduceType
The reduction operation type
dType (Optional)
Type: Emgu.CV.CvEnumDepthType
Optional depth of the output array.
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