complement__ ( Region : RegionComplement : : )

Return the complement of a region.

complement__ determines the complement of the input region(s).

If the system flag 'clip_region' is 'false' (see set_system) the complement is done virtually by setting the complement flag of Region to TRUE. For succeeding operations the de Morgan laws are applied while calculating results. A detailed description on how this is done can be found in the ``Handbook of Morphology.''

If the system flag 'clip_region' is 'true' the difference of the largest image processed so far (see init_horus) and the input region is returned.


Parameters

Region (input_object)
region(-array) -> object
Input region(s).

RegionComplement (output_object)
region(-array) -> object
Complemented regions.
Number of elements: RegionComplement == Region


Possible Predecessors

threshold__, connection, regiongrowing__, pouring, class_ndim1__


Possible Successors

select_shape


See also

difference, union1, union2, intersection, init_horus, set_system



Copyright © 1996-1997 MVTec Software GmbH