Install external extension/module SlicerSupervisedSegmentation

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:

  1. Have a from source build of Slicer
  2. Download the extension code
  3. Configure the extension using CMake, providing the location of the Slicer build
  4. Build the extension
  5. 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.

1 Like

Thanks, this is the information I needed. I’ll have to decide whether to try to fumble my way through the process or not.