pruning pruning Pruning Pruning pruning (Operator)
Name
pruning pruning Pruning Pruning pruning
— Prune the branches of a region.
Signature
Description
pruning pruning Pruning Pruning Pruning pruning
removes branches from a skeleton
(Region Region Region Region region region
) having a length less than Length Length Length Length length length
.
All other branches are preserved.
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.
Parameters
Region Region Region Region region region
(input_object) region(-array) →
object HRegion HObject HRegion Hobject
Regions to be processed.
RegionPrune RegionPrune RegionPrune RegionPrune regionPrune region_prune
(output_object) region(-array) →
object HRegion HObject HRegion Hobject *
Result of the pruning operation.
Length Length Length Length length length
(input_control) integer →
HTuple int HTuple Htuple (integer) (int / long) (Hlong ) (Hlong )
Length of the branches to be removed.
Default value: 2
Suggested values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 15, 17, 20, 30, 40, 50
Typical range of values: 1
≤
Length
Length
Length
Length
length
length
≤
511
(lin)
Minimum increment: 1
Recommended increment: 1
Complexity
Let F be the area of the input region. Then the runtime
complexity for one region is
Result
pruning pruning Pruning Pruning Pruning pruning
returns TRUE if all parameters are correct. The
behavior in case of empty or no input region can be set via:
no region:
set_system('no_object_result',<RegionResult>) set_system("no_object_result",<RegionResult>) SetSystem("no_object_result",<RegionResult>) SetSystem("no_object_result",<RegionResult>) SetSystem("no_object_result",<RegionResult>) set_system("no_object_result",<RegionResult>)
empty region:
set_system('empty_region_result',<RegionResult>) set_system("empty_region_result",<RegionResult>) SetSystem("empty_region_result",<RegionResult>) SetSystem("empty_region_result",<RegionResult>) SetSystem("empty_region_result",<RegionResult>) set_system("empty_region_result",<RegionResult>)
Otherwise, an exception is raised.
Possible Predecessors
skeleton skeleton Skeleton Skeleton Skeleton skeleton
Possible Successors
reduce_domain reduce_domain ReduceDomain ReduceDomain ReduceDomain reduce_domain
,
select_shape select_shape SelectShape SelectShape SelectShape select_shape
,
area_center area_center AreaCenter AreaCenter AreaCenter area_center
,
connection connection Connection Connection Connection connection
See also
junctions_skeleton junctions_skeleton JunctionsSkeleton JunctionsSkeleton JunctionsSkeleton junctions_skeleton
Module
Foundation