http://www.emgu.com
Returns header, corresponding to a specified rectangle of the input GpuMat. In other words, it allows the user to treat a rectangular part of input array as a stand-alone array.

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

Syntax

C#
public static IntPtr GetSubRect(
	IntPtr mat,
	Rectangle rect
)
Visual Basic
Public Shared Function GetSubRect ( _
	mat As IntPtr, _
	rect As Rectangle _
) As IntPtr
Visual C++
public:
static IntPtr GetSubRect(
	IntPtr mat, 
	Rectangle rect
)

Parameters

mat
Type: System..::..IntPtr
Input GpuMat
rect
Type: System.Drawing..::..Rectangle
Zero-based coordinates of the rectangle of interest.

Return Value

Pointer to the resultant sub-array header.

See Also