Is there have a solution to use the thirdpaty software to convert dicom files to nifti files?

I have tryed to use slicer it self to convert dicom files to nifti files,but it seems to have problems.
is there have a thirty party software to use subprocess to convert dicom files to nifti files?

There is a dcm2nii extension that is meant for diffusion MRI but it may also work for other acquisitions. Note that it’s not always possible to convert dicom to nifti and if dicom files don’t load as scalar volumes in Slicer they may not be compatible with nifti.

1 Like

Plastimatch is a good solution: http://plastimatch.org/

1 Like

You could use SimpleITK to convert DICOM to Nifti. Here’s an example showing how:

https://simpleitk.readthedocs.io/en/master/link_DicomSeriesReader_docs.html

If you give an output file name with the “.nii” or “.nii.gz” it will write Nifti.

1 Like