Emgu CV Library Documentation
cvGetSubRect Method (arr, submat, rect)
NamespacesEmgu.CVCvInvokecvGetSubRect(IntPtr, IntPtr, MCvRect)

www.emgu.com/wiki
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.
Declaration Syntax
C#Visual BasicVisual C++
public static IntPtr cvGetSubRect(
	IntPtr arr,
	IntPtr submat,
	MCvRect rect
)
Public Shared Function cvGetSubRect ( _
	arr As IntPtr, _
	submat As IntPtr, _
	rect As MCvRect _
) As IntPtr
public:
static IntPtr cvGetSubRect(
	IntPtr arr, 
	IntPtr submat, 
	MCvRect rect
)
Parameters
arr (IntPtr)
Input array
submat (IntPtr)
Pointer to the resultant sub-array header.
rect (MCvRect)
Zero-based coordinates of the rectangle of interest.
Return Value
the resultant sub-array header

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