http://www.emgu.com
Return the specific diagonal elements of this matrix

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

Syntax

C#
public Matrix<TDepth> GetDiag(
	int diag
)
Visual Basic
Public Function GetDiag ( _
	diag As Integer _
) As Matrix(Of TDepth)
Visual C++
public:
Matrix<TDepth>^ GetDiag(
	int diag
)

Parameters

diag
Type: System..::..Int32
Array diagonal. Zero corresponds to the main diagonal, -1 corresponds to the diagonal above the main etc., 1 corresponds to the diagonal below the main etc

Return Value

The specific diagonal elements of this matrix

See Also