DemarcateRegions


Splits common pixels of the input regions among these regions.

Applications:Use this filter to make sure that the regions of an array do not intersect.

Syntax

C++
C#
Python
 
def DemarcateRegions(
	inRegions: list[Region],
	/,
	*,
	inMetric: Metric | None = None
)
-> outRegions: list[Region]

Parameters

Name Type Default Description
Input value inRegions list[Region]
Input value inMetric Metric | None None Metric used for deciding which region owns a pixel; if set to NIL, region with lowest index in the input array is chosen
Output value outRegions list[Region]