Returns sum of diagonal elements of the matrix src1.

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

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