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.Cuda (in Emgu.CV.Cuda.dll) Version: 3.0.0.2161 (3.0.0.2161)
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
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.CvEnumReduceDimension
The dimension index along which the matrix is reduce.
reduceOp
Type: Emgu.CV.CvEnumReduceType
The reduction operation type
dType (Optional)
Type: Emgu.CV.CvEnumDepthType

[Missing <param name="dType"/> documentation for "M:Emgu.CV.Cuda.CudaInvoke.Reduce(Emgu.CV.IInputArray,Emgu.CV.IOutputArray,Emgu.CV.CvEnum.ReduceDimension,Emgu.CV.CvEnum.ReduceType,Emgu.CV.CvEnum.DepthType,Emgu.CV.Cuda.Stream)"]

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