[This is preliminary documentation and is subject to change.]

Returns sum of diagonal elements of the matrix src1.

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

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