http://www.emgu.com
returns the header, corresponding to a specified diagonal of the input array

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

Syntax

C#
public static IntPtr cvGetDiag(
	IntPtr arr,
	IntPtr submat,
	int diag
)
Visual Basic
Public Shared Function cvGetDiag ( _
	arr As IntPtr, _
	submat As IntPtr, _
	diag As Integer _
) As IntPtr
Visual C++
public:
static IntPtr cvGetDiag(
	IntPtr arr, 
	IntPtr submat, 
	int diag
)

Parameters

arr
Type: System..::..IntPtr
Input array
submat
Type: System..::..IntPtr
Pointer to the resulting sub-array header
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

Pointer to the resulting sub-array header

See Also