like this, itk-snap has a eport label description file funciton, so I want load this file to slicer to perform segmentation with color described in file, how can I do this?
One option is just to use the segment editor to make a segmentation with the names/colors you want to have but no segmentations and save it as a .seg.nrrd that you can use as a template. Then reload it for each case you want to segment and add the actual segmentations (setting the master volume and adjusting the segmentation geometry if needed).
I’ve added a reader for this ITK-Snap Label Description file format (*.txt
or *.label
), in the Sandbox extension. If you install this extension then you can-drag-and drop these label description files to make Slicer load them as a color table. This color table can then be used when you load a segmentation to set segment names and colors. See some more description here.
Hi There,When using your ITK snap Label Description software, I noticed that if the Label Transparency is set to any value different than 0 or 1 (i.e 0.5), Sandbox will not detect the labels file as a ITK-SnAP Label Description File. Spesifically, I have two Text Files: Anat_labels.txt and Anat_labels_Altered.txt. Anat_labels reads as an ITK-SnAP Label Description File, where as Anat_labels_Altered does not. The only difference between them is that Anat_labels_Altered has Label Transparency values between 0 and 1. However, if I change all the Label Transparency values to be either 0 or 1, Sandbox recognizes it as an ITK-SnAP Label Description File. What do you suggest I do?
Please provide a sample file and I’ll have a look.