Click or drag to resize
GpuMatTDepthGetSubRect Method
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.Cuda
Assembly: Emgu.CV.Cuda (in Emgu.CV.Cuda.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntax
public GpuMat<TDepth> GetSubRect(
	Rectangle region
)

Parameters

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

Return Value

Type: GpuMatTDepth
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