Herror ::skeleton (
    Hobject Region,
    Hobject *Skeleton
)
HRegion HRegion::Skeleton (
    void
) const
HRegionArray HRegionArray::Skeleton (
    void
) const

Compute the skeleton of a region.

::skeleton computes the skeleton of the input regions.


Parameters

Region (input_object)
region(-array) -> Hobject: HRegion(Array)
Region to be thinned.

Skeleton (output_object)
region(-array) -> Hobject * : HRegion(Array)
Resulting skeleton.
Number of elements: Skeleton == Region


Complexity

Let F be the area of the enclosing rectangle of the input region. Then the runtime complexity is O(F) (per region).


Result

::skeleton 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

::sobel_amp, ::edges_image, ::bandpass_image, ::threshold, ::hysteresis_threshold


Possible Successors

::junctions_skeleton, ::pruning


Alternatives

::morph_skeleton, ::thinning


See also

::gray_skeleton, ::sobel_amp, ::edges_image, ::roberts, ::bandpass_image, ::threshold


References

Eckardt, U. ``Verdünnung mit Perfekten Punkten'', Proceedings 10. DAGM-Symposium, IFB 180, Zurich, 1988


Module

Region processing



Copyright © 1996-2002 MVTec Software GmbH