returns the header, corresponding to a specified diagonal of the input array

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

Syntax

         
 C#  Visual Basic  Visual 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

See Also