reduce_domain ( Image, Region : ImageReduced : : )

Reduce the domain of an image.

The operator reduce_domain reduces the definition domain of the given image to 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 : byte / direction / cyclic / int1 / int2 / uint2 / int4 / real / complex / dvf
Input image.

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

ImageReduced (output_object)
image(-array) -> object : byte / direction / cyclic / int1 / int2 / uint2 / int4 / real / complex / dvf
Image with reduced definition domain.


Parallelization Information

reduce_domain is reentrant and automatically parallelized (on tuple level).


Possible Predecessors

get_domain


Alternatives

change_domain, rectangle1_domain, add_channels


See also

full_domain, get_domain, intersection


Module

Image / region / XLD management



Copyright © 1996-2005 MVTec Software GmbH