You are here: Start » AVL.NET » AVL.ExpandRegions
Splits pixels of the input regions and their complement among these regions.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void ExpandRegions ( AvlNet.Region[] inRegions, AvlNet.Metric? inMetric, out AvlNet.Region[] outRegions )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inRegions | AvlNet.Region[] | |||
![]() | inMetric | AvlNet.Metric? | Metric used for deciding which region receives a pixel; if set to NIL, Taxi metric is used after demarcating with NIL metric. Default value: atl::NIL, or null. | ||
![]() | outRegions | AvlNet.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. |