Back to FabImage Library website
You are here: Start » Function Reference » Region » Region Point Transforms » RegionComplement
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Computes a region of pixels not contained in the input region.
Syntax
C++
C#
void fil::RegionComplement ( const fil::Region& inRegion, fil::Region& outRegion )
Parameters
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
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Input and output regions are not distinct in RegionComplement. |