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.10.1935 (2.4.10.1935)

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
)
F#
static member cvGetSubRect : 
        arr : IntPtr * 
        submat : IntPtr * 
        rect : Rectangle -> IntPtr 

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

Type: IntPtr
the resultant sub-array header

See Also