Start » Filter Reference » Region » Region Basics » 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 | |
---|---|---|---|
inRegion | Region | Input region | |
outNotEmptyRegion | Region? | ||
outIsNotEmpty | Bool |
Complexity Level
This filter is available on Basic Complexity Level.