# Does Slicer support the batch processing?

**URL:** https://discourse.slicer.org/t/does-slicer-support-the-batch-processing/2529
**Category:** Support
**Tags:** extensions-manager
**Created:** [April 6, 2018, 5:40pm UTC](https://discourse.slicer.org/t/does-slicer-support-the-batch-processing/2529 "2018-04-06T17:40:23Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)
#### Post date: [April 6, 2018, 6:08pm UTC](https://discourse.slicer.org/t/does-slicer-support-the-batch-processing/2529/2 "2018-04-06T18:08:34Z")

</div>

Hello,

This question has been asked many times in the mailing list, for example

> [@RTstruct to Label map](https://discourse.slicer.org/t/rtstruct-to-label-map/2437):
>
> Hi, I have 200 dicom datapoints that contain a image and a RTstruct for the segmentations. I need to convert all RTstructs to Label volumes (maps) and can do this with the segmentations module. However, I have to perform every step manually and I am thus looking for a way to do it batch-wise. Since the segmentations module does not have a CLI, I was wondering if there is another solution that would allow me to access the module without the GUI. Best regards, Alain

and

> [@Slicer batch processing question (--no-main-window --python-script)](https://discourse.slicer.org/t/slicer-batch-processing-question-no-main-window-python-script/1863):
>
> Hi everyone, I am trying to find the best way to quickly batch process a number of folders containing head MRI dicom files to .nii files. Basically the pipeline should work like this: import the dicom files \> load them as a volume \> save the volume as a .nii file. I am trying to do this using the slicer from terminal: Slicer --no-main-window --python-script (as is described in here [https://www.slicer.org/wiki/Documentation/Nightly/Developers/Python\_scripting#How\_to\_access\_a\_scripted\_module\_fro…](https://www.slicer.org/wiki/Documentation/Nightly/Developers/Python_scripting#How_to_access_a_scripted_module_from_python_scripts)

I hope this helps.

---

_[View the full topic](https://discourse.slicer.org/t/does-slicer-support-the-batch-processing/2529)._
