Back to Aurora Vision Library website
You are here: Start » Function Reference » Region » Region Spatial Transforms » ResizeRegion
ResizeRegion
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | FoundationBasic |
Enlarges or shrinks a region to new dimensions.
Syntax
C++
C#
void avl::ResizeRegion ( const avl::Region& inRegion, atl::Optional<int> inNewWidth, atl::Optional<int> inNewHeight, avl::Region& outRegion )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inRegion | const Region& | Input region | |||
inNewWidth | Optional<int> | 1 - 65535 | NIL | ||
inNewHeight | Optional<int> | 1 - 65535 | NIL | ||
outRegion | Region& | Output region |
Examples
See Also
- ResizeRegion_Relative – Resizes region relatively along each axis.
- DownsampleRegion – Shrinks a region by the factor of two along each axis.
- ShrinkRegionNTimes – Shrinks a region by a natural factor along each axis.
- EnlargeRegionNTimes – Enlarges a region by a natural factor.
- ResizeImage – Enlarges or shrinks an image to new dimensions.