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

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,
	Rectangle rect
)
Public Shared Function cvGetSubRect ( _
	arr As IntPtr, _
	submat As IntPtr, _
	rect As Rectangle _
) As IntPtr
public:
static IntPtr cvGetSubRect(
	IntPtr arr, 
	IntPtr submat, 
	Rectangle rect
)
Parameters
arr (IntPtr)
Input array
submat (IntPtr)
Pointer to the resultant sub-array header.
rect (Rectangle)
Zero-based coordinates of the rectangle of interest.
Return Value
the resultant sub-array header

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