I’m new to slicer development, try to create a scripted module base on segment editor effect,
I’m using 5.9 version, and try to create a skeleton by using extension wizard, no information is shown in error log window, but the created module can’t be found in module finder,
I have tried restart the application, the module path have been added to additional module paths. And the created module can be find in setings-modules.
could any one tell me what have I missed. I suppose such a module don’t need to build slicer from source…
I’m trying to add a tinny function(push button) to segment editor, to allow auto save current segment and load next data, then add segment node and couple of segment.(for improve efficiency of annotation process).
When create a scripted module by extension wizard, I found there is a module template type called scriptedsegmenteditoreffect, suppose it is the easiest way to customize segment editor module.
But after creation, the module can’t be found in module finder, but can be found in edit- application setings-modules.
Segment Editor has its own little ecosystem, and it is very complex. What you can do with segment editor effect modules is to add a new editing tool (effect), nothing else. If you want to change the module, it is not possible. You can get the Segment Editor module from your own module, and insert some widget in a layout you choose, but it’s a hack, and the only way I can currently imagine.
Most of the Segment Editor module is just the segment editor widget, so you could just create your own “batch segment editor” module based on the original, where you add that button. Sorry for the late answer.