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.GPU
Assembly: Emgu.CV.GPU (in Emgu.CV.GPU.dll) Version: 2.4.10.1935 (2.4.10.1935)

Syntax

C#
public static void Reduce(
	IntPtr mtx,
	IntPtr vec,
	REDUCE_DIMENSION dim,
	REDUCE_TYPE reduceOp,
	IntPtr stream
)
Visual Basic
Public Shared Sub Reduce ( 
	mtx As IntPtr,
	vec As IntPtr,
	dim As REDUCE_DIMENSION,
	reduceOp As REDUCE_TYPE,
	stream As IntPtr
)
Visual C++
public:
static void Reduce(
	IntPtr mtx, 
	IntPtr vec, 
	REDUCE_DIMENSION dim, 
	REDUCE_TYPE reduceOp, 
	IntPtr stream
)
F#
static member Reduce : 
        mtx : IntPtr * 
        vec : IntPtr * 
        dim : REDUCE_DIMENSION * 
        reduceOp : REDUCE_TYPE * 
        stream : IntPtr -> unit 

Parameters

mtx
Type: System..::..IntPtr
The input GpuMat
vec
Type: System..::..IntPtr
The destination GpuMat. Must be preallocated 1 x n matrix and have the same number of channels as the input GpuMat
dim
Type: Emgu.CV.CvEnum..::..REDUCE_DIMENSION
The dimension index along which the matrix is reduce.
reduceOp
Type: Emgu.CV.CvEnum..::..REDUCE_TYPE
The reduction operation type
stream
Type: System..::..IntPtr
Use a Stream to call the function asynchronously (non-blocking) or IntPtr.Zero to call the function synchronously (blocking).

See Also