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.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.2.1.1150 (2.2.1.1150)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static MCvBox2D cvMinAreaRect2(
	IntPtr points,
	IntPtr storage
)
Public Shared Function cvMinAreaRect2 ( _
	points As IntPtr, _
	storage As IntPtr _
) As MCvBox2D
public:
static MCvBox2D cvMinAreaRect2(
	IntPtr points, 
	IntPtr storage
)

Parameters

points
IntPtr
Sequence of points, or two channel int/float depth matrix
storage
IntPtr
temporary memory storage

Return Value

a circumscribed rectangle of the minimal area for 2D point set

See Also