Back to Aurora Vision Library website
You are here: Start » Function Reference » Region » Region Spatial Transforms » DownsampleRegion
![](../../img/icon/ResizeRegion.png)
DownsampleRegion
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | FoundationBasic |
Shrinks a region by the factor of two along each axis.
Syntax
C++
C#
void avl::DownsampleRegion ( const avl::Region& inRegion, avl::DownsampleRegionMode::Type inDownsampleRegionMode, const int inScaleStep, avl::Region& outRegion )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
inRegion | const Region& | Input region | ||
![]() |
inDownsampleRegionMode | DownsampleRegionMode::Type | |||
![]() |
inScaleStep | const int | 0 - 12 | 1 | Defines how many times the region size is divided by 2 |
![]() |
outRegion | Region& | Output region |
See Also
- ShrinkRegionNTimes – Shrinks a region by a natural factor along each axis.
- ResizeRegion – Enlarges or shrinks a region to new dimensions.
- ResizeRegion_Relative – Resizes region relatively along each axis.
- EnlargeRegionNTimes – Enlarges a region by a natural factor.
- DownsampleImage – Shrinks an image by the factor of two along each axis.