Start » Filter Reference » Region » Region Basics » SkipEmptyRegion

SkipEmptyRegion


Module: FoundationLite

If the input region contains at least one pixel, then it is copied to the output; otherwise Nil is returned.

Applications

Secures against domain errors caused by empty regions, e.g. just before the RegionMassCenter filter is to be invoked.
Name Type Description
Input value
inRegion Region Input region
Output value
outNotEmptyRegion Region?
Output value
outIsNotEmpty Bool

Complexity Level

This filter is available on Basic Complexity Level.