reduce_domain ( Image, Region : ImageReduced : : )

Reduce the domain of an image.

The operator reduce_domain reduces the definition domain by the indicated region. The new definition domain is calculated as the intersection of the old definition domain with the region. Thus, the new definition domain can be a subset of the region. The size of the matrix is not changed.


Parameters

Image (input_object)
image(-array) -> object
Input image.

Region (input_object)
region -> object
New definition domain.

ImageReduced (output_object)
image(-array) -> object
Image with reduced definition domain


Possible Predecessors

get_domain


Alternatives

change_domain, add_channels


See also

full_domain, get_domain, intersection



Copyright © 1996-1997 MVTec Software GmbH