reduce_domainreduce_domainReduceDomainReduceDomain (Operator)

Name

reduce_domainreduce_domainReduceDomainReduceDomain — Reduce the domain of an image.

Signature

reduce_domain(Image, Region : ImageReduced : : )

Herror reduce_domain(const Hobject Image, const Hobject Region, Hobject* ImageReduced)

Herror T_reduce_domain(const Hobject Image, const Hobject Region, Hobject* ImageReduced)

void ReduceDomain(const HObject& Image, const HObject& Region, HObject* ImageReduced)

HImage HImage::ReduceDomain(const HRegion& Region) const

static void HOperatorSet.ReduceDomain(HObject image, HObject region, out HObject imageReduced)

HImage HImage.ReduceDomain(HRegion region)

Description

The operator reduce_domainreduce_domainReduceDomainReduceDomainReduceDomain 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.

Execution Information

Parameters

ImageImageImageImageimage (input_object)  (multichannel-)image(-array) objectHImageHImageHobject (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)

Input image.

RegionRegionRegionRegionregion (input_object)  region objectHRegionHRegionHobject

New definition domain.

ImageReducedImageReducedImageReducedImageReducedimageReduced (output_object)  image(-array) objectHImageHImageHobject * (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)

Image with reduced definition domain.

Possible Predecessors

get_domainget_domainGetDomainGetDomainGetDomain

Alternatives

change_domainchange_domainChangeDomainChangeDomainChangeDomain, rectangle1_domainrectangle1_domainRectangle1DomainRectangle1DomainRectangle1Domain, add_channelsadd_channelsAddChannelsAddChannelsAddChannels

See also

full_domainfull_domainFullDomainFullDomainFullDomain, get_domainget_domainGetDomainGetDomainGetDomain, intersectionintersectionIntersectionIntersectionIntersection

Module

Foundation