http://www.emgu.com
Returns a GpuMat corresponding to a specified rectangle of the current GpuMat. 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 GpuMat<TDepth> GetSubRect(
	Rectangle region
)
Visual Basic
Public Function GetSubRect ( 
	region As Rectangle
) As GpuMat(Of TDepth)
Visual C++
public:
GpuMat<TDepth>^ GetSubRect(
	Rectangle region
)
F#
member GetSubRect : 
        region : Rectangle -> GpuMat<'TDepth> 

Parameters

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

Return Value

Type: GpuMat<(Of <(<'TDepth>)>)>
A GpuMat that represent the region of the current matrix.

Remarks

The parent GpuMat should never be released before the returned GpuMat the represent the subregion

See Also