dicom2nifti.convert_dir module

this module houses all the code to just convert a directory of random dicom files

@author: abrys

dicom2nifti.convert_dir.convert_directory(dicom_directory, output_folder, compression=True, reorient=True)[source]

This function will order all dicom files by series and order them one by one

Parameters:
  • compression – enable or disable gzip compression
  • reorient – reorient the dicoms according to LAS orientation
  • output_folder – folder to write the nifti files to
  • dicom_directory – directory with dicom files