Segmentation Template Editor is a 3D Slicer extension to save and apply reusable label groups for Segment Editor.
Each label is assigned a visually distinct color using golden-ratio hue stepping, allowing for fast and consistent anatomical labeling.
- Define label sets and save them as reusable groups
- Auto-assign visually distinct colors using golden-ratio hue stepping
- Apply saved label groups to any existing segmentation in Segment Editor
- Prevent duplicate label creation and handle confirmation safely
- Groups are persisted in
labels.json
and shared across projects
- Enter label names line-by-line (e.g.,
left renal artery
,right renal artery
, etc.) - Input a group name (e.g.,
Abdomen vessels
) - Click
Save label group
Labels will be saved with auto-assigned colors. Duplicate or empty lines are ignored. If a group already exists, overwrite confirmation will appear.
- Select a saved group from the dropdown
- Click
Apply selected group
A confirmation popup will appear showing the current segmentation name.
This helps avoid accidental application to the wrong segmentation.
If duplicate labels already exist in the segmentation, you’ll be asked whether to skip them.
- Newly applied segments will appear with distinct colors
- Colors are assigned using golden-ratio hue stepping to reduce similarity
Segments are automatically linked to the master volume and displayed with their assigned colors.
Eunseo Heo (esheo-skia)
GitHub: esheo-skia
Email: esheo.skia@gmail.com
This project is licensed under the MIT License. See LICENSE for details.