rectangle1_domainrectangle1_domainRectangle1DomainRectangle1Domainrectangle1_domain (Operator)

Name

rectangle1_domainrectangle1_domainRectangle1DomainRectangle1Domainrectangle1_domain — 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)

def rectangle1_domain(image: HObject, row_1: int, column_1: int, row_2: int, column_2: int) -> HObject

Description

The operator rectangle1_domainrectangle1_domainRectangle1DomainRectangle1DomainRectangle1Domainrectangle1_domain reduces the definition domain of the given image to the specified rectangle. The size of the matrix is not changed.

Execution Information

Parameters

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

Input image.

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

Image with reduced definition domain.

Row1Row1Row1Row1row1row_1 (input_control)  rectangle.origin.y HTupleintHTupleHtuple (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 row_1 ≤ 1024

Column1Column1Column1Column1column1column_1 (input_control)  rectangle.origin.x HTupleintHTupleHtuple (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 column_1 ≤ 1024

Row2Row2Row2Row2row2row_2 (input_control)  rectangle.origin.y HTupleintHTupleHtuple (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 row_2 ≤ 1024

Column2Column2Column2Column2column2column_2 (input_control)  rectangle.origin.x HTupleintHTupleHtuple (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 column_2 ≤ 1024

Possible Predecessors

get_domainget_domainGetDomainGetDomainGetDomainget_domain

Alternatives

change_domainchange_domainChangeDomainChangeDomainChangeDomainchange_domain, reduce_domainreduce_domainReduceDomainReduceDomainReduceDomainreduce_domain, add_channelsadd_channelsAddChannelsAddChannelsAddChannelsadd_channels

See also

full_domainfull_domainFullDomainFullDomainFullDomainfull_domain, get_domainget_domainGetDomainGetDomainGetDomainget_domain, intersectionintersectionIntersectionIntersectionIntersectionintersection

Module

Foundation