Run a 3D Slicer module multiple times on different scans

Hi Team,

I need to use the N4ITK MRI Bias correction module of 3D slicer. I have multiple scans on which I want to use the Module. Is there a way to automate running the module on multiple scans (looping basically) and also saving the results back to the system ?

Thanks a lot in Advance.

Absolutely, but there is a Python script required to establish this. It needs to be run from the 3D Slicer Python Console.
See how we did it for the Lung CT Analyzer extension. You recursively scan your input directory for input files, process them, and save results to the output folder.

This link might be useful also : How to segment multiple volumes at once?