http://www.emgu.com
Returns sum of diagonal elements of the matrix mat.

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.2.1777 (2.4.2.1777)

Syntax

C#
public static MCvScalar cvTrace(
	IntPtr mat
)
Visual Basic
Public Shared Function cvTrace ( _
	mat As IntPtr _
) As MCvScalar
Visual C++
public:
static MCvScalar cvTrace(
	IntPtr mat
)

Parameters

mat
Type: System..::..IntPtr
the matrix

Return Value

sum of diagonal elements of the matrix src1

See Also