Finds a circumscribed rectangle of the minimal area for 2D point set by building convex hull for the set and applying rotating calipers technique to the hull.
Namespace:
Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax
C# |
---|
public static MCvBox2D cvMinAreaRect2( IntPtr points, IntPtr storage ) |
Visual Basic (Declaration) |
---|
Public Shared Function cvMinAreaRect2 ( _ points As IntPtr, _ storage As IntPtr _ ) As MCvBox2D |
Visual C++ |
---|
public: static MCvBox2D cvMinAreaRect2( IntPtr points, IntPtr storage ) |
Parameters
- points
- Type: System..::.IntPtr
Sequence of points, or two channel int/float depth matrix
- storage
- Type: System..::.IntPtr
temporary memory storage