http://www.emgu.com
Returns header, corresponding to a specified rectangle of the input array. In other words, it allows the user to treat a rectangular part of input array as a stand-alone array. ROI is taken into account by the function so the sub-array of ROI is actually extracted.

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

Syntax

C#
public static IntPtr cvGetSubRect(
	IntPtr arr,
	IntPtr submat,
	Rectangle rect
)
Visual Basic
Public Shared Function cvGetSubRect ( _
	arr As IntPtr, _
	submat As IntPtr, _
	rect As Rectangle _
) As IntPtr
Visual C++
public:
static IntPtr cvGetSubRect(
	IntPtr arr, 
	IntPtr submat, 
	Rectangle rect
)

Parameters

arr
Type: System..::..IntPtr
Input array
submat
Type: System..::..IntPtr
Pointer to the resultant sub-array header.
rect
Type: System.Drawing..::..Rectangle
Zero-based coordinates of the rectangle of interest.

Return Value

the resultant sub-array header

See Also