CvReduce Method (CvArr, CvArr, ReduceDimension) 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 static void Reduce(
	CvArr src,
	CvArr dst,
	ReduceDimension dim
)

Parameters

src
Type: OpenCvSharpCvArr
The input matrix.
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.
See Also

Reference