Script for resampling scalar volumes


I’m new to the developer aspect of 3D Slicer and would like to compile a Python script for resampling batch of scalar volumes. While looking at the documentation for the ResampleVolume module, Modules:ResampleVolume-Documentation-3.6 - Slicer Wiki, I noticed that it was written in C++ and its module type is CLI. So my question is: How can I have access to this module from my Python script? Or probably a more suitable question: How should I compile script for CLI modules in general?

Best regards

You can do something similar to what I do in my module. See OpenDose3D/Logic/ · develop · OpenDose / SlicerOpenDose3D · GitLab

1 Like