CvTrace Method OpenCvSharp Class Library
Returns trace of matrix

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

public static CvScalar Trace(
	CvArr mat
)

Parameters

mat
Type: OpenCvSharpCvArr
The source matrix.

Return Value

Type: CvScalar
sum of diagonal elements of the matrix src1
See Also

Reference