Emgu CV Library Documentation
cvGetDiag Method (arr, submat, diag)
NamespacesEmgu.CVCvInvokecvGetDiag(IntPtr, IntPtr, Int32)

www.emgu.com/wiki
returns the header, corresponding to a specified diagonal of the input array
Declaration Syntax
C#Visual BasicVisual C++
public static IntPtr cvGetDiag(
	IntPtr arr,
	IntPtr submat,
	int diag
)
Public Shared Function cvGetDiag ( _
	arr As IntPtr, _
	submat As IntPtr, _
	diag As Integer _
) As IntPtr
public:
static IntPtr cvGetDiag(
	IntPtr arr, 
	IntPtr submat, 
	int diag
)
Parameters
arr (IntPtr)
Input array
submat (IntPtr)
Pointer to the resulting sub-array header
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
Pointer to the resulting sub-array header

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