CvArrMinAreaRect2 Method (CvMemStorage) OpenCvSharp Class Library
Finds circumscribed rectangle of minimal area for given 2D point set

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public CvBox2D MinAreaRect2(
	CvMemStorage storage
)

Parameters

storage
Type: OpenCvSharpCvMemStorage
The point tested against the contour.

Return Value

Type: CvBox2D
The function cvMinAreaRect2 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.
See Also

Reference