Click or drag to resize

CvInvokecvGetDiag Method

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

Namespace:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntax
public static IntPtr cvGetDiag(
	IntPtr arr,
	IntPtr submat,
	int diag
)

Parameters

arr
Type: SystemIntPtr
Input array
submat
Type: SystemIntPtr
Pointer to the resulting sub-array header
diag
Type: SystemInt32
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: IntPtr
Pointer to the resulting sub-array header
See Also