Back to Adaptive Vision Library website
You are here: Start » Function Reference » Region Spatial Transforms » EnlargeRegionNTimes
EnlargeRegionNTimes
Enlarges a region by a natural factor.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::EnlargeRegionNTimes ( const avl::Region& inRegion, int inN, avl::Region& outRegion )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inRegion | const Region& | Input region | |||
inN | int | 1 - | 2 | The scaling coefficient | |
outRegion | Region& | Output region |
Examples
Errors
Error type | Description |
---|---|
DomainError | Input and output regions are not distinct in EnlargeRegionNTimes. |
DomainError | Output region too big in EnlargeRegionNTimes. |