Return the main diagonal element of this matrix

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 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