You are here: Start » FIL.NET » Function Reference » Region » Region Morphology » FIL.ExpandRegions
Splits pixels of the input regions and their complement among these regions.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void ExpandRegions ( IList<FilNet.Region> inRegions, FilNet.Metric? inMetric, IList<FilNet.Region> outRegions )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inRegions | System.Collections.Generic.IList<FilNet.Region> | |||
![]() | inMetric | FilNet.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: ftl::NIL. | ||
![]() | outRegions | System.Collections.Generic.IList<FilNet.Region> |
Examples
![]() |
![]() |
ExpandRegions performed with inMetric = Taxi.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Dimensions of two or more regions differ in ExpandRegions. |
DomainError | Input and output arrays are not distinct in ExpandRegions. |