Herror ::fill_up (
    Hobject Region,
    Hobject *RegionFillUp
)
HRegion HRegion::FillUp (
    void
) const
HRegionArray HRegionArray::FillUp (
    void
) const

Fill up holes in regions.

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


Parameters

Region (input_object)
region(-array) -> Hobject: HRegion(Array)
Input regions containing holes.

RegionFillUp (output_object)
region(-array) -> Hobject * : HRegion(Array)
Regions without holes.


Result

::fill_up returns 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>) and the behavior in case of an empty input region via ::set_system('empty_region_result',<Result>). If necessary, an exception handling is raised.


Possible Predecessors

::threshold, ::connection, ::regiongrowing, ::pouring


Possible Successors

::select_shape, ::disp_region


Alternatives

::fill_up_shape


See also

::boundary


Module

Region processing



Copyright © 1996-2002 MVTec Software GmbH