Returns header, corresponding to a specified rectangle of the input array. In other words, it allows the user to treat a rectangular part of input array as a stand-alone array. ROI is taken into account by the function so the sub-array of ROI is actually extracted.
Namespace:
Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax
C# |
---|
public static IntPtr cvGetSubRect( IntPtr arr, IntPtr submat, Rectangle rect ) |
Visual Basic (Declaration) |
---|
Public Shared Function cvGetSubRect ( _ arr As IntPtr, _ submat As IntPtr, _ rect As Rectangle _ ) As IntPtr |
Visual C++ |
---|
public: static IntPtr cvGetSubRect( IntPtr arr, IntPtr submat, Rectangle rect ) |
Parameters
- arr
- Type: System..::.IntPtr
Input array
- submat
- Type: System..::.IntPtr
Pointer to the resultant sub-array header.
- rect
- Type: System.Drawing..::.Rectangle
Zero-based coordinates of the rectangle of interest.