Scissor tools usability change and a question

Hi,

May I suggest to add a keystroke to scissors functionality so that the user doesn’t have to go back and forth between ‘none’ and ‘scissors’ effects constantly to spin the specimen in the 3D view while segmenting. Perhaps, during the scissors effect holding the shift or control with the left click can temporarily become the rotation.

Also, is it possible to integrate the scissors with ROI clipping? Sometimes I want the scissors to affect only a portion of the volume, not all the slices. With ROI, perhaps there can be an additional option for operation to be effective within ROI (or outside of of ROI).
Thanks,
M

You can activate/deactivate effects with number keys (1, 2, …, 0). With the default effect order, scissors is assigned to key ‘0’.

Scissors can be marked, so you can fill/erase only inside a selected region: change “Editable region” in masking section.

Thanks Andras. Key shortcuts were exactly what I needed. Sped up the tasks quite a bit.

However, i am not sure how editable region setting would work in my task. I tried to illustrate one example here. This highlighted bone is not touching the rest of the specimen. In most cases I can find an angle where nothing is in the field of view behind it, and I can easily remove it with scissors. However, there are cases where I can’t find such an angle, so it becomes more challenging.

Also would it be possible to use the scissors to not to erase something, but to assign a different segment.

image

You can do all kind of separation, masking, and fusion with the right combination of scissors and masking settings. For example, to assign a part of segment A to segment B:

  • In segment list (above the effect buttons): select segment B
  • In Masking / Editable area: select Inside segment A
  • In Scissors effect options: select Fill inside

Use the same setup as described above (for separating segments) but hide Segment B. This allows you to temporarily hide any parts by assigning to an invisible segment. The hidden parts can be added back later using Scissors effect or Logical operators.

No… in 4.11 20200930 ver, Smoothing is assigned to key 0.
There is no shortcut for Scissors. I can’t find it. :((

In current Slicer Preview Release, default shortcut for Smoothing is 0, default shortcut for Scissors is Shift+1 (or !). You may not need to use these, as you can switch between the last two effects using the space key, and you can also specify any keyboard shortcut to any action in Slicer (see for example how to make s key toggle sphere brush).

What is your workflow? What tools do you need to switch between frequently, in what order?

1 Like

finaly! Thank you!!!
Oh…I want to make “vessel segmentation” for AI data.
So I’m using Scissors, Threshold and Islands (also sometime using Logical operators)
I tried so many different ways. But it didn’t work well (Local Threshold and over sampling or Nvidia AiAA or etc…)
How can I separate artery and vein from the brain bone? so hard…

You could reduce the input volume by many means, and you should do it.

One way follows :

  • Surround the brain with a ROI node
  • Use ‘Local threshold’ to mask the brain in the ROI
  • Fill holes in this segment with ‘Smoothing’ effect
  • Shrink the segment by 3 mm; you will unfortunately lose the internal carotids in the base skull
  • Create another volume by ‘Split volume’ from this segment. Use -1500 as ‘Fill value’
  • Create another segmentation and use the volume created by ‘Split volume’

Using ‘Flood filling’, I could get this for surgically relevant arteries. But other segmentation tools can be used of course.

At any step, you will have to get best parameters by trial and error.

This task remains a challenge, and there are no standard recipes.

2 Likes

Thank you!!!
can I ask where can I get information about ROI node?
What exactly do you mean this?
and How can I surround the brain? (I only assume “Markups” but still it’s nor clear)
https://slicer.readthedocs.io/en/latest/user_guide/modules/markups.html

image

you mean this…? I used MarkupsClosedCurve

This very page gives you information about ROI nodes. Spend much time tinkering with the basics of each Slicer core tool, and the basics of each Segment Editor tool. From your replies, I grant you should explore much more before performing advanced tasks.

wow!!! Thank you!! I’m still not growing up enough though, I got a fancy image!

Please have a look at this video. The steps are slightly different as described above to save time.

Note also that if you only need to view the arteries, Volume Rendering is faster and perhaps more efficient. And you should be careful to distinguish between arteries and veins.

1 Like

ahhhhhh got it. my step was a little bit different with yours.