ClassesClassesClassesClasses | | | | Operators

add_channelsadd_channelsAddChannelsadd_channelsAddChannelsAddChannels (Operator)

Name

add_channelsadd_channelsAddChannelsadd_channelsAddChannelsAddChannels — Add gray values to regions.

Signature

add_channels(Regions, Image : GrayRegions : : )

Herror add_channels(const Hobject Regions, const Hobject Image, Hobject* GrayRegions)

Herror T_add_channels(const Hobject Regions, const Hobject Image, Hobject* GrayRegions)

Herror add_channels(Hobject Regions, Hobject Image, Hobject* GrayRegions)

HImage HRegion::AddChannels(const HImage& Image) const

HImageArray HRegionArray::AddChannels(const HImage& Image) const

void AddChannels(const HObject& Regions, const HObject& Image, HObject* GrayRegions)

HImage HRegion::AddChannels(const HImage& Image) const

void HOperatorSetX.AddChannels(
[in] IHUntypedObjectX* Regions, [in] IHUntypedObjectX* Image, [out] IHUntypedObjectX*GrayRegions)

IHImageX* HRegionX.AddChannels([in] IHImageX* Image)

static void HOperatorSet.AddChannels(HObject regions, HObject image, out HObject grayRegions)

HImage HRegion.AddChannels(HImage image)

Description

The operator add_channelsadd_channelsAddChannelsadd_channelsAddChannelsAddChannels creates for each region in RegionsRegionsRegionsRegionsRegionsregions an image, "painting" the pixel values from the input image ImageImageImageImageImageimage into the region. The created images are returned as a tuple in the parameter GrayRegionsGrayRegionsGrayRegionsGrayRegionsGrayRegionsgrayRegions. All channels of ImageImageImageImageImageimage are adopted. The definition domain of an output image is calculated as the intersection of the definition domain of the image with the region. Thus, the new definition domain can be a subset of the input region. The size of the image matrix is not changed.

Parallelization

Parameters

RegionsRegionsRegionsRegionsRegionsregions (input_object)  region(-array) objectHRegionHRegionHRegionHRegionXHobject

Input regions (without pixel values).

ImageImageImageImageImageimage (input_object)  (multichannel-)image objectHImageHImageHImageHImageXHobject (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)

Input image with pixel values for regions.

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

Output image(s) with regions and pixel values (one image per input region).

Number of elements: Regions == GrayRegions

Possible Predecessors

thresholdthresholdThresholdthresholdThresholdThreshold, regiongrowingregiongrowingRegiongrowingregiongrowingRegiongrowingRegiongrowing, gen_circlegen_circleGenCirclegen_circleGenCircleGenCircle, draw_regiondraw_regionDrawRegiondraw_regionDrawRegionDrawRegion

Possible Successors

thresholdthresholdThresholdthresholdThresholdThreshold, regiongrowingregiongrowingRegiongrowingregiongrowingRegiongrowingRegiongrowing, get_domainget_domainGetDomainget_domainGetDomainGetDomain

Alternatives

change_domainchange_domainChangeDomainchange_domainChangeDomainChangeDomain, reduce_domainreduce_domainReduceDomainreduce_domainReduceDomainReduceDomain

See also

full_domainfull_domainFullDomainfull_domainFullDomainFullDomain, get_domainget_domainGetDomainget_domainGetDomainGetDomain, intersectionintersectionIntersectionintersectionIntersectionIntersection

Module

Foundation


ClassesClassesClassesClasses | | | | Operators