Herror ::change_domain (
    Hobject Image,
    Hobject NewDomain,
    Hobject *ImageNew
)
HImage HImage::ChangeDomain (
    const HRegion &NewDomain
) const
HImageArray HImageArray::ChangeDomain (
    const HRegion &NewDomain
) const

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) -> Hobject: HImage(Array)
Input image.

NewDomain (input_object)
region -> Hobject: HRegion
New definition domain.

ImageNew (output_object)
image(-array) -> Hobject * : HImage(Array)
Image with new definition domain.


Possible Predecessors

::get_domain


Alternatives

::reduce_domain


See also

::full_domain, ::get_domain, ::intersection


Module

Image / region / XLD management



Copyright © 1996-2002 MVTec Software GmbH