Back to Adaptive Vision Studio website
You are here: Start » Filter Reference » Structural Analysis and Shape Descriptors » cvBoundingRect
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 here: Error Handling
Error type | Description |
---|---|
DomainError | Input array must not be empty in cvBoundingRect. |
Complexity Level
This filter is available on Basic Complexity Level.