Hi, as I am new to Slicer, I am still quite unsure about many terminology and especially about the file type extensions. Please excuse me if I use some terms wrongly.
I was doing a segmentation of the knee joint using Editor module, but after I saved all the files as .nrrd format and re-opened the files on a separate occasion, the labels were all no longer in the original “colours” and classifications, but all ended up as black labels. I also could no longer use Editor to edit the labels, for instance paint over using the same thresholding effect I used previously.
Please advise if there is anything I can do to re-edit the labels using the same properties I previously had in place, and if there is anything I can do to prevent such situations from arising again.
The Editor module is considered a legacy module and is no longer maintained. Please import the labelmap to a segmentation node: Segmentations module import/export section or in Data module by right-clicking the labelmap and choose “Convert labelmap to segmentation node”. Once this is done, you can edit the segmentation in the Segment Editor module.
One more piece of advice: please download a recent nightly. The Segment Editor module especially went through a lot of improvements since the release of 4.8.1.
Also, what do you mean by “legacy module”?
Does this also imply that after saving and re-opening, I won’t be able to use the Editor module to edit labelmaps, but can only use the Segment Editor to edit? (I previously did not use the Segment Editor, purely the Editor module, followed by the Surface Model > Model Maker to create my 3D model.)
@cpinter I think suggesting to use a recently nightly is a good way for debugging to see if the issue has already been solved, but I don’t think all users should be using it. If all users should be using it, then we would have a new stable release. The editor module is listed as legacy in the nightly, but not legacy in the stable release.
Maybe the Slicer stable release schedule should be changed to more frequent releases instead of a yearly basis?
@jamieng The Editor module is listed as legacy in the current Nightly, but you will still be able to use it. The Segment Editor module is the newer replacement module for Editor. In a future release the Editor module will be removed.
In the meantime, as 4.8.1 can now be considered ancient in terms of segmentation features, I disagree with you and think that users should use the nightly.
Creating a stable Slicer release still requires a lot of manual effort, so unfortunately there is often a rather long time period when a nightly version is ready to be released as stable, yet it is still only labelled as nightly version.
Except a few very specific issues (which should only affect few users), the current nightly version works well, so the potential issues of nightly version are outweighed by those many fixes and improvements that it contains.
This is exactly the plan.
You can still load labelmaps and edit them in Segment editor, you just need to import labelmaps into segmentation node as @cpinter described above.
Per-structure volume management in Editor module was always very limited. As far as I know, per-structure volumes cannot be saved into the scene but you need to merge them into one labelmap before saving. Also, Editor module stores structure names in color nodes (separate from the nrrd files), so if you only save the nrrd files, then your labels are lost.
Since all these issues are solved by the new Segment Editor module (and will not be fixed in the old Editor module), it makes sense to switch from Editor to Segment Editor module. As Segment Editor is much improved in nightly version, it makes sense to switch from 4.8.x to the nightly version.
I think I have a better idea of what you have been explaining now. I will use the Segment Editor module in future when I have to! Thank you so much for the advice and explanations.
@cpinter@jamesobutler Thank you all so much for your help and expertise as well, it is much appreciated!