Click or drag to resize

CudaImageTColor, TDepthGetSubRect Method

http://www.emgu.com
Returns a CudaImage corresponding to a specified rectangle of the current CudaImage. 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.World (in Emgu.CV.World.dll) Version: 4.1.0.3408 (4.1.0.3408)
Syntax
public CudaImage<TColor, TDepth> GetSubRect(
	Rectangle region
)

Parameters

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

Return Value

Type: CudaImageTColor, TDepth
A CudaImage that represent the region of the current CudaImage.
Remarks
The parent CudaImage should never be released before the returned CudaImage that represent the subregion
See Also