LabelTrees¶
- MLModule¶
author
package
dll
definition
see also
GraphManager,LabelSelectedTree,LabelFromEdgeToLeaves,LabelByThresholdedVolume,GetTreeLabelskeywords
Purpose¶
The module LabelTrees sets a label for all skeletons of each tree in the attached Graph (editing).
The given labels are distributed in accordance with the sizes of the trees.
Windows¶
Default Panel¶
Input Fields¶
inGraphEditing¶
- name: inGraphEditing, type: GraphEditing(MLBase)¶
Parameter Fields¶
Visible Fields¶
Assign¶
- name: assign, type: Trigger¶
When pressed, the labels are distributed to the trees ordered by the volume (number of voxels) of the trees.
If there are more trees than labels, the excess trees remain unlabeled.
Update¶
- name: update, type: Trigger¶
When pressed, the labels are distributed to the trees ordered by their volume.
If there are more trees than labels, the smaller trees will receive the last label. If a larger tree is removed, an update on the same graph will assign the now unassigned label to the largest of the remaining trees.
Label Values¶
- name: labelValues, type: String, default: 12025 12125 12225¶
Sets the label values to be distributed to the skeletons of all trees.