Return the main diagonal element of this matrix

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

Syntax

C#
public Matrix<TDepth> GetDiag()
Visual Basic (Declaration)
Public Function GetDiag As Matrix(Of TDepth)
Visual C++
public:
Matrix<TDepth>^ GetDiag()

Return Value

The main diagonal element of this matrix

See Also