Emgu CV Library Documentation
GetDiag Method (diag)
NamespacesEmgu.CVMatrix<(Of <(TDepth>)>)GetDiag(Int32)

www.emgu.com/wiki
Return the specific diagonal elements of this matrix
Declaration Syntax
C#Visual BasicVisual C++
public Matrix<TDepth> GetDiag(
	int diag
)
Public Function GetDiag ( _
	diag As Integer _
) As Matrix(Of TDepth)
public:
Matrix<TDepth>^ GetDiag(
	int diag
)
Parameters
diag (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

Assembly: Emgu.CV (Module: Emgu.CV) Version: 1.5.0.0 (1.5.0.0)