Start » Filter Reference » Region » Region Morphology » ExpandRegions

ExpandRegions


Module: FoundationBasic

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.
Name Type Description
Input value
inRegions RegionArray
Input value
inMetric Metric* 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 RegionArray

Examples

ExpandRegions performed with inMetric = Taxi.

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

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.

Complexity Level

This filter is available on Advanced Complexity Level.