Start » Filter Reference » OpenCV » Structural Analysis and Shape Descriptors » cvBoundingRect
Module: | OpenCV |
---|
Calculates the up-right bounding rectangle of a point set.
Name | Type | Description | |
---|---|---|---|
inPoints | Point2DArray | Input Point2D array. | |
outRect | Box |
Description
The function calculates the minimal bounding box for specified point set.
Examples
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Input array must not be empty in cvBoundingRect. |
Complexity Level
This filter is available on Basic Complexity Level.