MatBoundingRect Method OpenCvSharp Class Library
Calculates the up-right bounding rectangle of a point set. The input is 2D point set, represented by CV_32SC2 or CV_32FC2 matrix.

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

public Rect BoundingRect()

Return Value

Type: Rect
Minimal up-right bounding rectangle for the specified point set.
See Also

Reference