Cv2BoundingRect Method (InputArray)
|
Calculates the up-right bounding rectangle of a point set.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic static Rect BoundingRect(
InputArray curve
)
Public Shared Function BoundingRect (
curve As InputArray
) As Rect
public:
static Rect BoundingRect(
InputArray^ curve
)
static member BoundingRect :
curve : InputArray -> Rect
OpenCvSharp.Cv2.BoundingRect = function(curve);
Parameters
- curve
- Type: OpenCvSharpInputArray
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