Back to Adaptive Vision Library website
You are here: Start » Function Reference » Region Morphology » ExpandRegions
ExpandRegions
Splits pixels of the input regions and their complement among these regions.
Syntax
C++
C#
void avl::ExpandRegions ( const atl::Array<avl::Region>& inRegions, atl::Optional<avl::Metric::Type> inMetric, atl::Array<avl::Region>& outRegions )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inRegions | const Array<Region>& | ||
![]() |
inMetric | Optional<Metric::Type> | NIL | |
![]() |
outRegions | Array<Region>& |
Examples
|
|
ExpandRegions performed with inMetric = Taxi.
Errors
| Error type | Description |
|---|---|
| DomainError | Input and output arrays are not distinct in ExpandRegions. |
| DomainError | Dimensions of two or more regions differ in ExpandRegions. |


