SetLabelToTreeDepth¶
-
MLModule
¶ author MeVis Medical Solutions AG
package MeVisLab/Standard
dll MLGraphEditing
definition MLGraphEditing.def see also SoVascularSystem
,WEMVascularSystem
,DtfSkeletonization
keywords vascular
,vessel
,skeleton
,graph
Purpose¶
The module SetLabelToTreeDepth
sets the skeleton labels of a vascular graph to the graph/tree’s depth or breadth to values in [0…1].
Minimum depth/breath skeleton labels are set to 0, maximum depth/breadth skeleton labels are set to 1.
Input Fields¶
inGraph¶
-
name:
inGraph
, type:
Graph(MLBase)
¶ - For accessing this object via scripting see the Scripting Reference:
MLGraphWrapper
.
Output Fields¶
outGraph¶
-
name:
outGraph
, type:
Graph(MLBase)
¶ - For accessing this object via scripting see the Scripting Reference:
MLGraphWrapper
.
Parameter Fields¶
Visible Fields¶
Update¶
-
name:
update
, type:
Trigger
¶ If pressed, the module sets the labels anew and puts out the resulting graph.
Labeling Mode¶
-
name:
labelingMode
, type:
Enum
, default:
Depth
¶ Defines the labeling mode.
Values:
Title | Name | Description |
---|---|---|
Depth | Depth | The module calculates the maximum distance from the graph’s root to any leaf and distributes label values in [0..1] to all skeletons on all paths down to the leaves. Only the leaf at the longest path will have a label value of 1. |
Breadth | Breadth | The module computes the lengths of all paths from the root down to all leaves and distributes label values along each path from the leaves up to the root. All leave skeletons will have a label value of 1. |