pl-dcm2niix
is a ChRIS ds plugin wrapper around
dcm2niix.
It converts an input directory of DICOMs into an output
directory of NIFTI images.
pl-dcm2niix
can run from ChRIS
or locally on the command-line using Apptainer.
singularity exec docker://fnndsc/pl-dcm2niix dcm2niixw input/ output/
A subset of the options from the original dcm2niix
are available.
Example datasets can be obtained from here:
To convert DICOMs in inputdir/
to NIFTIs in outputdir/
,
without producing BIDs sidecar JSON (-b n
), disable automatic
2D slice merge (-m n
), compressed .nii.gz
output (-z y
):
singularity exec docker://fnndsc/pl-dcm2niix dcm2niixw -b n -m n -z y inputdir/ outputdir/