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

Return the main diagonal element of this matrix

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