Hello, I would like to use the Slicer Supervised Segmentation extension (https://github.com/chalupaDaniel/SlicerSupervisedSegmentation ), but I do not understand how to access it from Slicer. Does it need to be built from source with Slicer? I was walked through the process of successfully building Slicer from source once during a training, but found that process non-intuitive and opaque, and I’m not sure I could accomplish it again on my own. And even if I did accomplish that, I’m not sure at what point in the process or by what mechanism I would include the SlicerSupervisedSegmentation code. I realize this code was not developed by the Slicer core, but I have not been able to find instructions with those files and I think my questions would apply to many other external extensions as well, so I am asking here if there is any guidance. I did see instructions on the developer’s page relating to creating and packaging extensions, but those all seem to be aimed at the original developer, rather than someone who just wants to use an extension developed by someone else. Thanks for any help or guidance you can provide.
External extensions need to built against a local build of Slicer. See: https://www.slicer.org/wiki/Documentation/Nightly/Developers/FAQ/Extensions#How_to_build_an_extension_.3F
So:
- Have a from source build of Slicer
- Download the extension code
- Configure the extension using CMake, providing the location of the Slicer build
- Build the extension
- Add the path to the built extension in the Slicer application settings: https://www.slicer.org/wiki/Documentation/Nightly/Developers/FAQ/Extensions#How_to_manually_install_an_extension_package.3F
Extensions that are submitted to the ExtensionsIndex are also built with 3D Slicer and will be available through the Extension Manager. Looking at the SlicerSupervisedSegmentation extension, it has been submitted, but has build errors and so is not currently available.
Thanks, this is the information I needed. I’ll have to decide whether to try to fumble my way through the process or not.
Hi Mike
I have a similar question to your question, but I still couldn’t get the right solution? Can you find a solution?
Would be happy if you give me your experiences too
Yours sincerely
Hello @morteza, I did not end up trying to go through this whole process to try to get this extension. I ended up looking into MONAI instead. That system I did get working, but have not ended up using extensively. The MONAI people have provided a lot of help in the Slicer forums, so there are several threads with lots of information if you are interested in going that route. Good luck!