The command line example in the post below should give you an idea. Yes, you can run it as a subprocess launched from Slicer. HTH.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Slicer batch processing question (--no-main-window --python-script) | 7 | 3497 | January 19, 2018 | |
| Automate loading, editing and exporting with no user interaction | 1 | 523 | September 17, 2018 | |
| invoking python CLI module from command line | 1 | 973 | July 3, 2018 | |
| How can I convert DICOM series to NRRD files in batch mode? | 11 | 4158 | July 24, 2018 | |
| Convert NRRD to DICOM | 4 | 1307 | April 22, 2021 |