Segment editor tools arrangement

im newly using the preview version , and one thing i definitely don’t like is the tools arrangement

im so used to the old one , work perfect with keyboard shortcuts and all

now im keeping hitting 1 for paint and getting threshold

id love the old one back please Screen Shot 2021-03-01 at 15.09.17

In most cases, you need to start segmentation with thresholding (to check if global thresholding can give meaningful segmentation results, to choose intensity range for painting, or create a mask segment).

Of course each segmentation workflow is different, so you may want to change defaults. For example, you can customize order and visibility of Segment editor effects and can even create custom keyboard shortcuts for switching between effects and customize almost anything on the GUI and in the application behavior by a few lines of Python code. You can place these code snippets in your application startup file to make the changes persistent.

I’m sure you got great reason for the change , however mostly I use pain /erase / draw

Threshold is first but much less frequent .

I’m programmming illetrate , I’m just a humble Maxillofacial surgeon enjoying slicer too much :blush:

Customizing effect order does not require any programming experience. Hit Ctrl+3 and copy-paste this into the displayed Python interactor:

segmentEditorWidget = slicer.modules.segmenteditor.widgetRepresentation().self().editor
segmentEditorWidget.setEffectNameOrder(['Paint', 'Erase'])
1 Like

thats great , thats too much programming to me
works perfect though

1 Like

We could add a graphical user interface for configuring effect order (for example, a text input box in application settings where user can list segment editor effect names in preferred order), but so far we have no heard from too many people that they would need this. Users are either fine with the current order or they are OK with changing it by scripting.

id love such feature , even the list of favorite module would be great if can be customized .
like if love to have crop volume in my favorite but didn’t figure out how .

one more thing is that if possible to have favorite views . i only use 3d only , conventional , four up , two side by side .
the rest are not useful to me . id love to be able to customize the list and remove the ones i never use .

thank you for considering these points

Favorite modules: You can already customize the favorite modules with a GUI, in application settings - see here for details.

Favorite views: We have been planning to add this, I’ve submitted a feature request to make sure we consider it for the next release. Until then, you can assign keyboard shortcuts to switch between views, which is probably even faster than using toolbar buttons anyway.

i didn’t get how can i change my favorite module ,

i also love to be able to customize too bar more freely rather than fewer options

How to change your list of favorite modules: “The list can be customized using menu: Edit / Application settings / Modules / Favorite Modules. Drag-and-drop modules from the Modules list to the Favorite Modules list to add a module.” Let us know if anything is not clear or any suggestions how to improve these instructions.

You are absolutely free to customize the toolbar, add new toolbars, invent new actions, etc. It just requires adding a few lines of Python script to the Slicer startup file. You can cut&paste the script from examples in the script repository, but if you describe what features you would put in the toolbar we can put it together for you.

Actually it would be great to reorder the effects by dragging and dropping the icons positions (like the top toolbar).

1 Like

thats what i would love to have !