http://www.emgu.com
Assembly: Emgu.CV.GPU (in Emgu.CV.GPU.dll) Version: 2.3.0.1416 (2.3.0.1416)
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.GPUAssembly: Emgu.CV.GPU (in Emgu.CV.GPU.dll) Version: 2.3.0.1416 (2.3.0.1416)
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 ) |
Parameters
- region
- Type: System.Drawing..::..Rectangle
Zero-based coordinates of the rectangle of interest.
Return Value
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