change_domain ( Image, NewDomain : ImageNew : : )

Change definition domain of an image.

The operator change_domain uses the indicated region as new definition domain. Unlike the operator reduce_domain it does not form the intersection of the previous definition domain. This can lead to errors particularly when the region is larger than the image matrix. The size of the matrix is not changed.


Attention

Due to running time the transferred region is not checked for consistency (i.e., whether it fits with the image matrix). Incorrect regions lead to system hang-ups during subsequent operations.


Parameters

Image (input_object)
image(-array) -> object : byte / direction / cyclic / int1 / int2 / uint2 / int4 / real / complex / dvf
Input image.

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

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


Parallelization Information

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


Possible Predecessors

get_domain


Alternatives

reduce_domain


See also

full_domain, get_domain, intersection


Module

Image / region / XLD management



Copyright © 1996-2005 MVTec Software GmbH