http://www.emgu.com
Returns a GpuImage corresponding to a specified rectangle of the current GpuImage. The data is shared with the current matrix. 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.10.1935 (2.4.10.1935)

Syntax

C#
public GpuImage<TColor, TDepth> GetSubRect(
	Rectangle region
)
Visual Basic
Public Function GetSubRect ( 
	region As Rectangle
) As GpuImage(Of TColor, TDepth)
Visual C++
public:
GpuImage<TColor, TDepth>^ GetSubRect(
	Rectangle region
)
F#
member GetSubRect : 
        region : Rectangle -> GpuImage<'TColor, 'TDepth> 

Parameters

region
Type: System.Drawing..::..Rectangle
Zero-based coordinates of the rectangle of interest.

Return Value

Type: GpuImage<(Of <(<'TColor, TDepth>)>)>
A GpuImage that represent the region of the current GpuImage.

Remarks

The parent GpuImage should never be released before the returned GpuImage that represent the subregion

See Also