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.
Header: | AVL.h |
---|
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 | Metric used for deciding which region receives a pixel; if set to NIL, Taxi metric is used after demarcating with NIL metric | |
outRegions | Array<Region>& |
Examples
Errors
Error type | Description |
---|---|
DomainError | Input and output arrays are not distinct in ExpandRegions. |
DomainError | Dimensions of two or more regions differ in ExpandRegions. |