SetLabelToTreeDepth¶
-
MLModule¶ author MeVis Medical Solutions AGpackage MeVisLab/Standarddll MLGraphEditingdefinition MLGraphEditing.def see also SoVascularSystem,WEMVascularSystem,DtfSkeletonizationkeywords vascular,vessel,skeleton,graph
Purpose¶
The module SetLabelToTreeDepth sets the skeleton labels of a vascular Graph to the graph/tree’s depth or breadth, with values ranging from 0 to 1.
Minimum depth/breadth skeleton labels are set to 0, while 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¶ When 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 ranging from 0 to 1 to all skeletons along 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 leaf skeletons will have a label value of 1. |