HALCON Reference Manual 10.0.2
Table of Contents / Regions / Transformations ClassesClassesClasses | | | Operators

fill_upfill_upfill_upFillUpFillUp (Operator)

Name

fill_upfill_upfill_upFillUpFillUp — Fill up holes in regions.

Signature

fill_up(Region : RegionFillUp : : )

Herror fill_up(const Hobject Region, Hobject* RegionFillUp)

Herror T_fill_up(const Hobject Region, Hobject* RegionFillUp)

Herror fill_up(Hobject Region, Hobject* RegionFillUp)

HRegion HRegion::FillUp() const

HRegionArray HRegionArray::FillUp() const

void HOperatorSetX.FillUp(
[in] IHUntypedObjectX* Region, [out] IHUntypedObjectX*RegionFillUp)

IHRegionX* HRegionX.FillUp()

static void HOperatorSet.FillUp(HObject region, out HObject regionFillUp)

HRegion HRegion.FillUp()

Description

fill_upfill_upfill_upFillUpFillUp 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>)set_system("neighborhood",<4/8>)SetSystem("neighborhood",<4/8>)SetSystem("neighborhood",<4/8>) (default: 8-neighborhood).

Parallelization

Parameters

RegionRegionRegionRegionregion (input_object)  region(-array) objectHRegionHRegionHRegionXHobject

Input regions containing holes.

RegionFillUpRegionFillUpRegionFillUpRegionFillUpregionFillUp (output_object)  region(-array) objectHRegionHRegionHRegionXHobject *

Regions without holes.

Result

fill_upfill_upfill_upFillUpFillUp 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>)set_system("no_object_result",<Result>)SetSystem("no_object_result",<Result>)SetSystem("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>)set_system("empty_region_result",<Result>)SetSystem("empty_region_result",<Result>)SetSystem("empty_region_result",<Result>). If necessary, an exception is raised.

Possible Predecessors

thresholdthresholdthresholdThresholdThreshold, connectionconnectionconnectionConnectionConnection, regiongrowingregiongrowingregiongrowingRegiongrowingRegiongrowing, pouringpouringpouringPouringPouring

Possible Successors

select_shapeselect_shapeselect_shapeSelectShapeSelectShape, disp_regiondisp_regiondisp_regionDispRegionDispRegion

Alternatives

fill_up_shapefill_up_shapefill_up_shapeFillUpShapeFillUpShape

See also

boundaryboundaryboundaryBoundaryBoundary

Module

Foundation


Table of Contents / Regions / Transformations ClassesClassesClasses | | | Operators
HALCON Reference Manual 10.0.2 Copyright © 1996-2011 MVTec Software GmbH