fill_upfill_upFillUpFillUpfill_up (算子名称)

名称

fill_upfill_upFillUpFillUpfill_up — Fill up holes in regions.

参数签名

fill_up(区域 : RegionFillUp : : )

Herror fill_up(const Hobject 区域, Hobject* RegionFillUp)

Herror T_fill_up(const Hobject 区域, Hobject* RegionFillUp)

void FillUp(const HObject& 区域, HObject* RegionFillUp)

HRegion HRegion::FillUp() const

static void HOperatorSet.FillUp(HObject 区域, out HObject regionFillUp)

HRegion HRegion.FillUp()

def fill_up(区域: HObject) -> HObject

描述

fill_upfill_upFillUpFillUpFillUpfill_up fills up holes in regions. The number of regions remains unchanged. The neighborhood type is set via set_system('neighborhood',<4/8>)set_system("neighborhood",<4/8>)SetSystem("neighborhood",<4/8>)SetSystem("neighborhood",<4/8>)SetSystem("neighborhood",<4/8>)set_system("neighborhood",<4/8>) (default: 8-neighborhood).

运行信息

参数表

区域区域区域区域区域区域 (input_object)  region(-array) objectHRegionHObjectHRegionHobject

Input regions containing holes.

RegionFillUpRegionFillUpRegionFillUpRegionFillUpregionFillUpregion_fill_up (output_object)  region(-array) objectHRegionHObjectHRegionHobject *

Regions without holes.

结果

fill_upfill_upFillUpFillUpFillUpfill_up returns 2 ( H_MSG_TRUE) if all parameters are correct. The behavior in case of empty input (no regions given) can be set via set_system('no_object_result',<Result>)set_system("no_object_result",<Result>)SetSystem("no_object_result",<Result>)SetSystem("no_object_result",<Result>)SetSystem("no_object_result",<Result>)set_system("no_object_result",<Result>) and the behavior in case of an empty input region via set_system('empty_region_result',<Result>)set_system("empty_region_result",<Result>)SetSystem("empty_region_result",<Result>)SetSystem("empty_region_result",<Result>)SetSystem("empty_region_result",<Result>)set_system("empty_region_result",<Result>). If necessary, an exception is raised.

可能的前置算子

thresholdthresholdThresholdThresholdThresholdthreshold, connectionconnectionConnectionConnectionConnectionconnection, regiongrowingregiongrowingRegiongrowingRegiongrowingRegiongrowingregiongrowing, pouringpouringPouringPouringPouringpouring

可能的后置算子

select_shapeselect_shapeSelectShapeSelectShapeSelectShapeselect_shape, disp_regiondisp_regionDispRegionDispRegionDispRegiondisp_region

可替代算子

fill_up_shapefill_up_shapeFillUpShapeFillUpShapeFillUpShapefill_up_shape

参考其它

boundaryboundaryBoundaryBoundaryBoundaryboundary

模块

Foundation