You are here: Start » AVL.NET » AVL.ExpandRegions Method

AVL.ExpandRegions Method

Splits pixels of the input regions and their complement among these regions.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void ExpandRegions(
	AvlNet.Region[] inRegions,
	AvlNet.Metric? inMetric,
	out AvlNet.Region[] outRegions
)

Parameters

Name Type Range Default Description
inRegionsAvlNet.Region
inMetricAvlNet.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.
outRegionsAvlNet.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.

See also