Returns sum of diagonal elements of the matrix mat.

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

Syntax

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

Parameters

mat
IntPtr
the matrix

Return Value

sum of diagonal elements of the matrix src1

See Also