skeletonπ
Short descriptionπ
skeleton β Compute the skeleton of a region.
Signatureπ
skeleton( region Region, out region Skeleton )
Descriptionπ
skeleton computes the skeleton, i.e., the medial axis of the input
regions. The skeleton is constructed in a way that each point on it
can be seen as the center point of a circle with the largest radius possible
while still being completely contained in the region.
Execution informationπ
Execution information
-
Multithreading type: reentrant (runs in parallel with non-exclusive operators).
-
Multithreading scope: global (may be called from any thread).
-
Automatically parallelized on tuple level.
This operator supports canceling timeouts and interrupts.
Parametersπ
Region (input_object) region(-array) β object
Region to be thinned.
Skeleton (output_object) region(-array) β object
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 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>)
and the behavior in case of an empty input region via
set_system('empty_region_result',<Result>).
If necessary, an exception is raised.
Combinations with other operatorsπ
Combinations
Possible predecessors
sobel_amp, edges_image, bandpass_image, threshold, hysteresis_threshold
Possible successors
Alternatives
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π
Foundation