ClassesClasses | | Operators

rectangle1_domainrectangle1_domainRectangle1DomainRectangle1Domain (Operator)

Name

rectangle1_domainrectangle1_domainRectangle1DomainRectangle1Domain — Reduce the domain of an image to a rectangle.

Signature

rectangle1_domain(Image : ImageReduced : Row1, Column1, Row2, Column2 : )

Herror rectangle1_domain(const Hobject Image, Hobject* ImageReduced, const Hlong Row1, const Hlong Column1, const Hlong Row2, const Hlong Column2)

Herror T_rectangle1_domain(const Hobject Image, Hobject* ImageReduced, const Htuple Row1, const Htuple Column1, const Htuple Row2, const Htuple Column2)

void Rectangle1Domain(const HObject& Image, HObject* ImageReduced, const HTuple& Row1, const HTuple& Column1, const HTuple& Row2, const HTuple& Column2)

HImage HImage::Rectangle1Domain(Hlong Row1, Hlong Column1, Hlong Row2, Hlong Column2) const

static void HOperatorSet.Rectangle1Domain(HObject image, out HObject imageReduced, HTuple row1, HTuple column1, HTuple row2, HTuple column2)

HImage HImage.Rectangle1Domain(int row1, int column1, int row2, int column2)

Description

The operator rectangle1_domainrectangle1_domainRectangle1DomainRectangle1DomainRectangle1Domain reduces the definition domain of the given image to the specified rectangle. The old domain of the input image is ignored. 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.

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

Image with reduced definition domain.

Row1Row1Row1Row1row1 (input_control)  rectangle.origin.y HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Line index of upper left corner of image area.

Default value: 100

Suggested values: 10, 20, 50, 100, 200, 300, 500

Typical range of values: 0 ≤ Row1 Row1 Row1 Row1 row1 ≤ 1024

Column1Column1Column1Column1column1 (input_control)  rectangle.origin.x HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Column index of upper left corner of image area.

Default value: 100

Suggested values: 10, 20, 50, 100, 200, 300, 500

Typical range of values: 0 ≤ Column1 Column1 Column1 Column1 column1 ≤ 1024

Row2Row2Row2Row2row2 (input_control)  rectangle.origin.y HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Line index of lower right corner of image area.

Default value: 200

Suggested values: 10, 20, 50, 100, 200, 300, 500

Typical range of values: 0 ≤ Row2 Row2 Row2 Row2 row2 ≤ 1024

Column2Column2Column2Column2column2 (input_control)  rectangle.origin.x HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Column index of lower right corner of image area.

Default value: 200

Suggested values: 10, 20, 50, 100, 200, 300, 500

Typical range of values: 0 ≤ Column2 Column2 Column2 Column2 column2 ≤ 1024

Possible Predecessors

get_domainget_domainGetDomainGetDomainGetDomain

Alternatives

change_domainchange_domainChangeDomainChangeDomainChangeDomain, reduce_domainreduce_domainReduceDomainReduceDomainReduceDomain, add_channelsadd_channelsAddChannelsAddChannelsAddChannels

See also

full_domainfull_domainFullDomainFullDomainFullDomain, get_domainget_domainGetDomainGetDomainGetDomain, intersectionintersectionIntersectionIntersectionIntersection

Module

Foundation


ClassesClasses | | Operators