ExpandRegions


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

Applications:Use this filter to make sure that every pixel belongs to a region.

Syntax

C++
C#
Python
 
def ExpandRegions(
	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 receives a pixel; if set to NIL, Taxi metric is used after demarcating with NIL metric
Output value outRegions list[Region]