reduce_domainreduce_domainReduceDomainReduceDomainreduce_domain (算子名称)

名称

reduce_domainreduce_domainReduceDomainReduceDomainreduce_domain — Reduce the domain of an image.

参数签名

reduce_domain(Image, 区域 : ImageReduced : : )

Herror reduce_domain(const Hobject Image, const Hobject 区域, Hobject* ImageReduced)

Herror T_reduce_domain(const Hobject Image, const Hobject 区域, Hobject* ImageReduced)

void ReduceDomain(const HObject& Image, const HObject& 区域, HObject* ImageReduced)

HImage HImage::ReduceDomain(const HRegion& 区域) const

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

HImage HImage.ReduceDomain(HRegion 区域)

def reduce_domain(image: HObject, 区域: HObject) -> HObject

描述

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

运行信息

参数表

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

Input image.

区域区域区域区域区域区域 (input_object)  region objectHRegionHObjectHRegionHobject

New definition domain.

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

Image with reduced definition domain.

可能的前置算子

get_domainget_domainGetDomainGetDomainGetDomainget_domain

可替代算子

change_domainchange_domainChangeDomainChangeDomainChangeDomainchange_domain, rectangle1_domainrectangle1_domainRectangle1DomainRectangle1DomainRectangle1Domainrectangle1_domain, add_channelsadd_channelsAddChannelsAddChannelsAddChannelsadd_channels

参考其它

full_domainfull_domainFullDomainFullDomainFullDomainfull_domain, get_domainget_domainGetDomainGetDomainGetDomainget_domain, intersectionintersectionIntersectionIntersectionIntersectionintersection

模块

Foundation