Change island effect

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?

Best,

Ors

Hi -

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?

-Steve

Dear Steve,

I’m using the old Editor module, since for this kind of segmentation I have
to make a lot of manual editing. I can share the files for checking.

Ors

Okay, sure - if you can share a dataset that replicates the issue I can take a look - use dropbox or something similar to send the files.

-Steve

Dear Steve,

You’ll receive the files vie wetransfer. Thank you for your help.

Ors

Sorry, I will share a google drive.

Ors

Dear Steve,

Which email adress should I use?

"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."

ah, yes, makes sense - I’m pieper at isomics.com

-Steve

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).

1 Like

Dear Steve,

sharing sent.

Ors

Hi Ors -

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).

-Steve

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.

Dear Steve,

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.

Best,

Ors

Sounds good Ors - glad you are back on track.

Longer term, as Andras mentioned, the Segment Editor is more powerful and we’ll be putting our efforts there.