J Unctions_skeleton (Operator)
Name
Junctions_skeleton-find junctions and end points in a skeleton.
Signature
Junctions_skeleton (Region:endpoints, juncpoints::)
Description
Junctions_skeleton detects junctions and end points in a skeleton (see skeleton). The junctions in the input region is output as a region with juncpoints, while the end points is output as a region in endpoints.
To obtain reasonable results with Junctions_skeleton the input region must not contain lines which is more than on e pixel wide. Regions obtained by skeleton meet the condition, while regions obtained by Morph_skeleton does not meet this condition in G Eneral.
Parallelization Multithreading Type:reentrant (runs in parallel with non-exclusive operators). Multithreading Scope:global (May is called from any thread). Automatically parallelized on the tuple level.
Parameters
Region (Input_object) region (-array) →object
Input skeletons.
Endpoints (output_object) region (-array) →object
Extracted end points.
Number of elements:endpoints = = Region
Juncpoints (output_object) region (-array) →object
Extracted junctions.
Number of elements:juncpoints = = Region
Example (Hdevelop)
* non-connected branches of a skeleton
Skeleton (Region,skeleton)
Junctions_skeleton (skeleton,epoints,jpoints)
Difference (s,jpoints,rows)
Set_system (' Heighbourhood ', 4)