Calculates up-right bounding rectangle of point set.
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- update
- Type: SystemBoolean
The update flag. Here is list of possible combination of the flag values and type of contour: * points is CvContour*, update=0: the bounding rectangle is not calculated, but it is read from rect field of the contour header. * points is CvContour*, update=1: the bounding rectangle is calculated and written to rect field of the contour header. For example, this mode is used by cvFindContours. * points is CvSeq* or CvMat*: update is ignored, the bounding rectangle is calculated and returned.
Return Value
Type: CvRect[Missing <returns> documentation for "M:OpenCvSharp.CvArr.BoundingRect(System.Boolean)"]
See Also