You are here: Start » AVL.NET » Function Reference » Region » Region Morphology » AVL.DemarcateRegions
Splits common pixels of the input regions among these regions.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void DemarcateRegions ( IList<AvlNet.Region> inRegions, AvlNet.Metric? inMetric, IList<AvlNet.Region> outRegions )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inRegions | System.Collections.Generic.IList<AvlNet.Region> | |||
![]() | inMetric | AvlNet.Metric? | Metric used for deciding which region owns a pixel; if set to NIL, region with lowest index in the input array is chosen. Default value: atl::NIL. | ||
![]() | outRegions | System.Collections.Generic.IList<AvlNet.Region> |
Examples
|
|
DemarcateRegions performed with inMetric = Euclidean.
Errors
List of possible exceptions:
| Error type | Description |
|---|---|
| DomainError | Dimensions of two or more regions differ in DemarcateRegions. |


