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

AVL.DemarcateRegions Method

Splits common pixels of the input regions among these regions.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void DemarcateRegions(
	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 owns a pixel; if set to NIL, region with lowest index in the input array is chosen. Default value: atl::NIL, or null.
outRegionsAvlNet.Region

Examples

DemarcateRegions performed with inMetric = Euclidean.

Errors

Error type Description
DomainError Dimensions of two or more regions differ in DemarcateRegions.

See also