Return the main diagonal element of this matrix

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 Matrix<TDepth> GetDiag()
Public Function GetDiag As Matrix(Of TDepth)
public:
Matrix<TDepth>^ GetDiag()

Return Value

The main diagonal element of this matrix

See Also