Start » Filter Reference » Region » Region Point Transforms » RegionComplement

RegionComplement


Module: FoundationLite

Computes a region of pixels not contained in the input region.

Name Type Description
Input value
inRegion Region Input region
Output value
outRegion Region Output region

Description

The operation computes a region of the same dimensions, containing only pixels that do not belong to the given one.

Examples

RegionComplement run on a sample region.

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 Input and output regions are not distinct in RegionComplement.

Complexity Level

This filter is available on Advanced Complexity Level.