How to transfer a group of DICOM images into NRRD format

For example, I have a group of files,
1647261723(1)
Each file has a series of DICOM images,
1647261780(1)
I’d like to tranfer them into NRRD format,
Is it possible to achieve it automatically in 3D slicers?
Thanks a lot !

Assuming the dicom data is essentially volumetric then you just need to combine these two snippets into a small script:

https://slicer.readthedocs.io/en/latest/developer_guide/script_repository.html#load-dicom-files-into-the-scene-from-a-folder

https://slicer.readthedocs.io/en/latest/developer_guide/script_repository.html#save-volume-to-file

1 Like

We have a small extension called SlicerBatchAnonymize that does exactly this. It should be available in the nightly Slicer’s extension index. Hope this helps.

1 Like