Back to Adaptive Vision Library website
You are here: Start » Function Reference » Region Spatial Transforms » ResizeRegion_Relative
ResizeRegion_Relative
Resizes region relatively along each axis.
Syntax
C++
C#
void avl::ResizeRegion_Relative ( const avl::Region& inRegion, atl::real inHorizontalScale, atl::real inVerticalScale, avl::Region& outRegion )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inRegion | const Region& | Input region | ||
![]() |
inHorizontalScale | real | 0.0 - ![]() |
1.0f | |
![]() |
inVerticalScale | real | 0.0 - ![]() |
1.0f | |
![]() |
outRegion | Region& | Output region |
Examples
![]() |
![]() |
ResizeRegion_Relative performed on the sample region with inHorizontalScale and inVerticalScale both set to 0,5.
Errors
| Error type | Description |
|---|---|
| DomainError | Output region too big in ResizeRegion_Relative. |





