From my understanding of the documentation and this comment from the man himself, yes unless you need the slicer modules. SlicerPython is like a prepackaged virtual environment, it includes vmtk and can be run from cmd but you’ll need to have the user interface open for access to slicer.app, slicer.mrmlScene, slicer.modules, slicer.moduleNames. You can also use other flags to help your automation routine like --no-main-window and --exit-after-startup.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Developing an interactive python program to work with Slicer GUI | 8 | 597 | August 30, 2023 | |
VMTK automatic centerline and export control points as XYZ coordinates | 0 | 181 | January 17, 2024 | |
Applying the centerline extraction to a batch of models | 0 | 193 | June 20, 2023 | |
Where is the code for computation of centerline? | 4 | 1959 | June 18, 2021 | |
Extract CenterLine - Start in py | 2 | 375 | November 28, 2022 |