close_contours_xldclose_contours_xldCloseContoursXldCloseContoursXldclose_contours_xld (算子)
名称
close_contours_xldclose_contours_xldCloseContoursXldCloseContoursXldclose_contours_xld — 关闭 XLD 轮廓。
签名
def close_contours_xld(contours: HObject) -> HObject
描述
close_contours_xldclose_contours_xldCloseContoursXldCloseContoursXldCloseContoursXldclose_contours_xld closes all XLD contours given in
ContoursContoursContoursContourscontourscontours. The resulting contours are returned in
ClosedContoursClosedContoursClosedContoursClosedContoursclosedContoursclosed_contours. To obtain meaningful results, it is strongly
recommended to select contours with select_contours_xldselect_contours_xldSelectContoursXldSelectContoursXldSelectContoursXldselect_contours_xld that have end
points that are not further apart than a certain maximum distance before
passing them to close_contours_xldclose_contours_xldCloseContoursXldCloseContoursXldCloseContoursXldclose_contours_xld.
执行信息
- 多线程类型:可重入(与非独占算子并行运行)。
- 多线程作用域:全局(可从任何线程调用)。
- 未采用并行化处理。
参数
ContoursContoursContoursContourscontourscontours (输入对象) xld_cont-array → objectHXLDContHObjectHXLDContHobject
Contours to be closed.
ClosedContoursClosedContoursClosedContoursClosedContoursclosedContoursclosed_contours (输出对象) xld_cont(-array) → objectHXLDContHObjectHXLDContHobject *
Closed contours.
可能的前趋
select_contours_xldselect_contours_xldSelectContoursXldSelectContoursXldSelectContoursXldselect_contours_xld
可能的后继
area_center_xldarea_center_xldAreaCenterXldAreaCenterXldAreaCenterXldarea_center_xld,
circularity_xldcircularity_xldCircularityXldCircularityXldCircularityXldcircularity_xld,
compactness_xldcompactness_xldCompactnessXldCompactnessXldCompactnessXldcompactness_xld,
convexity_xldconvexity_xldConvexityXldConvexityXldConvexityXldconvexity_xld,
eccentricity_xldeccentricity_xldEccentricityXldEccentricityXldEccentricityXldeccentricity_xld,
elliptic_axis_xldelliptic_axis_xldEllipticAxisXldEllipticAxisXldEllipticAxisXldelliptic_axis_xld,
moments_xldmoments_xldMomentsXldMomentsXldMomentsXldmoments_xld,
moments_any_xldmoments_any_xldMomentsAnyXldMomentsAnyXldMomentsAnyXldmoments_any_xld,
orientation_xldorientation_xldOrientationXldOrientationXldOrientationXldorientation_xld,
select_shape_xldselect_shape_xldSelectShapeXldSelectShapeXldSelectShapeXldselect_shape_xld,
test_xld_pointtest_xld_pointTestXldPointTestXldPointTestXldPointtest_xld_point
模块
基础