CvArrReduce Method (CvArr, ReduceDimension, ReduceOperation) OpenCvSharp Class Library
Reduces matrix to a vector

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public void Reduce(
	CvArr dst,
	ReduceDimension dim,
	ReduceOperation type
)

Parameters

dst
Type: OpenCvSharpCvArr
The output single-row/single-column vector that accumulates somehow all the matrix rows/columns.
dim
Type: OpenCvSharpReduceDimension
The dimension index along which the matrix is reduce. 0 means that the matrix is reduced to a single row, 1 means that the matrix is reduced to a single column. -1 means that the dimension is chosen automatically by analysing the dst size.
type
Type: OpenCvSharpReduceOperation
The reduction operation.
See Also

Reference