| Cv2BoundingRect Method (IEnumerablePoint2f) |
Calculates the up-right bounding rectangle of a point set.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static Rect BoundingRect(
IEnumerable<Point2f> curve
)
Public Shared Function BoundingRect (
curve As IEnumerable(Of Point2f)
) As Rect
public:
static Rect BoundingRect(
IEnumerable<Point2f>^ curve
)
static member BoundingRect :
curve : IEnumerable<Point2f> -> Rect
Parameters
- curve
- Type: System.Collections.GenericIEnumerablePoint2f
The input 2D point set, represented by CV_32SC2 or CV_32FC2 matrix.
Return Value
Type:
RectMinimal up-right bounding rectangle for the specified point set.
See Also