ClassesClasses | | Operators

clip_contours_xldclip_contours_xldClipContoursXldClipContoursXld (Operator)

Name

clip_contours_xldclip_contours_xldClipContoursXldClipContoursXld — Clip an XLD contour.

Signature

clip_contours_xld(Contours : ClippedContours : Row1, Column1, Row2, Column2 : )

Herror clip_contours_xld(const Hobject Contours, Hobject* ClippedContours, const Hlong Row1, const Hlong Column1, const Hlong Row2, const Hlong Column2)

Herror T_clip_contours_xld(const Hobject Contours, Hobject* ClippedContours, const Htuple Row1, const Htuple Column1, const Htuple Row2, const Htuple Column2)

void ClipContoursXld(const HObject& Contours, HObject* ClippedContours, const HTuple& Row1, const HTuple& Column1, const HTuple& Row2, const HTuple& Column2)

HXLDCont HXLDCont::ClipContoursXld(Hlong Row1, Hlong Column1, Hlong Row2, Hlong Column2) const

static void HOperatorSet.ClipContoursXld(HObject contours, out HObject clippedContours, HTuple row1, HTuple column1, HTuple row2, HTuple column2)

HXLDCont HXLDCont.ClipContoursXld(int row1, int column1, int row2, int column2)

Description

clip_contours_xldclip_contours_xldClipContoursXldClipContoursXldClipContoursXld clips all XLD contours given in ContoursContoursContoursContourscontours, i.e., only contour points contained in the rectangle given by Row1Row1Row1Row1row1, Column1Column1Column1Column1column1, Row2Row2Row2Row2row2, and Column2Column2Column2Column2column2 are returned on output. Note, that the rectangle behaves like a region, i.e., the rectangle encloses the pixels completely. If necessary, contours are split, and several new contours are produced. The resulting contours are returned in ClippedContoursClippedContoursClippedContoursClippedContoursclippedContours.

Execution Information

Parameters

ContoursContoursContoursContourscontours (input_object)  xld_cont(-array) objectHXLDContHXLDContHobject

Contours to be clipped.

ClippedContoursClippedContoursClippedContoursClippedContoursclippedContours (output_object)  xld_cont(-array) objectHXLDContHXLDContHobject *

Clipped contours.

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

Row coordinate of the upper left corner of the clip rectangle.

Default value: 0

Suggested values: 0, 500, 1000, 1500, 2000

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

Column coordinate of the upper left corner of the clip rectangle.

Default value: 0

Suggested values: 0, 500, 1000, 1500, 2000

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

Row coordinate of the lower right corner of the clip rectangle.

Default value: 512

Suggested values: 512, 1024, 1536, 2048

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

Column coordinate of the lower right corner of the clip rectangle.

Default value: 512

Suggested values: 512, 1024, 1536, 2048

Possible Predecessors

gen_contours_skeleton_xldgen_contours_skeleton_xldGenContoursSkeletonXldGenContoursSkeletonXldGenContoursSkeletonXld, lines_gausslines_gaussLinesGaussLinesGaussLinesGauss, lines_facetlines_facetLinesFacetLinesFacetLinesFacet, edges_sub_pixedges_sub_pixEdgesSubPixEdgesSubPixEdgesSubPix

Possible Successors

gen_polygons_xldgen_polygons_xldGenPolygonsXldGenPolygonsXldGenPolygonsXld

Alternatives

crop_contours_xldcrop_contours_xldCropContoursXldCropContoursXldCropContoursXld

See also

clip_regionclip_regionClipRegionClipRegionClipRegion, crop_partcrop_partCropPartCropPartCropPart, crop_contours_xldcrop_contours_xldCropContoursXldCropContoursXldCropContoursXld

Module

Foundation


ClassesClasses | | Operators