Back to Adaptive Vision Library Lite website
You are here: Start » Region Features » RegionBoundingBox
RegionBoundingBox
Computes the smallest box containing the input region.
Syntax
void avl::RegionBoundingBox ( const avl::Region& inRegion, avl::Box& outBoundingBox )
Parameters
Hints
- If the input region is not guaranteed to be non-empty, precede this filter with SkipEmptyRegion.
Examples
![]() |
The resulting outBoundingBox box drawn onto the input region.
Errors
| Error type | Description |
|---|---|
| DomainError | Empty region on input in RegionBoundingBox. |



