Back to Adaptive Vision Library website
You are here: Start » Function Reference » Region Features » RegionBoundingBox
Computes the smallest box containing the input region.
Syntax
C++
C#
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inRegion | const Region& | Input region | |
![]() |
outBoundingBox | Box& |
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. |



