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.10.1935 (2.4.10.1935)

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
)
F#
member GetDiag : 
        diag : int -> Matrix<'TDepth> 

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

Type: Matrix<(Of <(<'TDepth>)>)>
The specific diagonal elements of this matrix

See Also