Skip to content

close_contours_xldCloseContoursXldCloseContoursXldclose_contours_xldclose_contours_xld🔗

Short description🔗

close_contours_xldCloseContoursXldCloseContoursXldclose_contours_xldclose_contours_xld — Close an XLD contour.

Signature🔗

close_contours_xld( xld_cont Contours, out xld_cont ClosedContours )void CloseContoursXld( const HObject& Contours, HObject* ClosedContours )static void HOperatorSet.CloseContoursXld( HObject contours, out HObject closedContours )def close_contours_xld( contours: HObject ) -> HObject

Herror close_contours_xld( const Hobject Contours, Hobject* ClosedContours )

Herror T_close_contours_xld( const Hobject Contours, Hobject* ClosedContours )

HXLDCont HXLDCont::CloseContoursXld( ) const

HXLDCont HXLDCont.CloseContoursXld( )

Description🔗

close_contours_xldCloseContoursXld closes all XLD contours given in Contourscontourscontours. The resulting contours are returned in ClosedContoursclosedContoursclosed_contours. To obtain meaningful results, it is strongly recommended to select contours with select_contours_xldSelectContoursXld that have end points that are not further apart than a certain maximum distance before passing them to close_contours_xldCloseContoursXld.

Execution information🔗

Execution information
  • Multithreading type: reentrant (runs in parallel with non-exclusive operators).

  • Multithreading scope: global (may be called from any thread).

  • Processed without parallelization.

Parameters🔗

Contourscontourscontours (input_object) xld_cont-array → objectHObjectHXLDContHObjectHobject

Contours to be closed.

ClosedContoursclosedContoursclosed_contours (output_object) xld_cont(-array) → objectHObjectHXLDContHObjectHobject *

Closed contours.

Combinations with other operators🔗

Combinations

Possible predecessors

select_contours_xldSelectContoursXld

Possible successors

area_center_xldAreaCenterXld, circularity_xldCircularityXld, compactness_xldCompactnessXld, convexity_xldConvexityXld, eccentricity_xldEccentricityXld, elliptic_axis_xldEllipticAxisXld, moments_xldMomentsXld, moments_any_xldMomentsAnyXld, orientation_xldOrientationXld, select_shape_xldSelectShapeXld, test_xld_pointTestXldPoint

Module🔗

Foundation