File format conversion¶
File format conversion utility functions.
- dcm2nii(files, out, dst, **kwargs)[source]¶
Convert DICOM files to NIfTI and write to disk.
- Parameters:
files (List of Files) – List of File objects that represent the files to be converted.
out (str) – Output format desired.
dst (Layout) – Destination layout where converted files will be stored.
config (str) – Path to config file. Should be compatible with dcm2bids version installed.
- Return type:
None