Operating system: Windows 10
Slicer version:4.9.0
Expected behavior: Change a color code to another
Actual behavior: Delete all the color codes
I did air sac segmentation with the Editor module some years ago. For a statistical analysis I have to compare selected parts (diverticles) of the air sac system but my old color codes are not perfect, I have to change some parts of the diverticles. After clicking on the desired area, all the color codes are set to background (deleted, I think). What could be the reason for it?
Hmm, hard to tell. It could help troubleshoot if you let us know if you are using the old Editor or the new Segment Editor to change the islands? Did you check the error log? Is this something you can reproduce with the sample data? Is the data sharable so we can try the operation?
"Weāre sorry, but your email message to [āslicer@discoursemail.comā]
(titled 3 HASON 2-label.zip) didnāt work.
None of the destination email addresses are recognized, or the Message-ID
header in the email has been modified. Please make sure that you are
sending to the correct email address provided by staff."
I think you should be able to send private message to other users by clicking on the username then click on āMessageā. But maybe it does not show up a while for new users (for spam protection).
Thanks for sharing the data - that helped. The issue is that your label map volume is of type āunsigned shortā, but the change island tool only works with data type āshortā (slicer creates āshortā by default but maybe this was imported from another system?).
If you donāt really need the āislandā part of this, you could just use the ChangeLabelEffect that would turn all voxels of a certain value to another.
Or if you need the island feature you can run your labelmap through the Filtering->Arithmetic->Cast Scalar Volume and switch to type short. (If you create a new volume as the output you can change it to a labelmap in the Volumes module).
Or you could import the label into the new Segment Editor but Iām not sure thereās an exact replacement for the ChangeIslandEffect (@lassoan may have suggestions).
You can find ChangeIslandEffect feature in Segment Editor in āIslandsā effect. Choose āAdd selected islandā and then if you click on an island in any of the viewers, then that island is added to the currently selected segment.
I think all features of the legacy Editor are available in Segment Editor and there are of course many improvements and fixes.
Thank you for your help. All the labels were created with Slicer with the
same system.
The solution you suggested worked. My problem was that I labeled a kind of
air sac diverticle with a bad color code and I wanted to change it. The
ChangeLabel Effect worked properly for this. In my mind a label is a
complete label which contains all the color codes and this is why I didnāt
try this effect but that was I wanted to do exactly.