dcm2nii1
Convert dicom or par/rec image into the nifti format
Usage
dcm2nii <options>
<sourcenames>
Options
-aAnonymize [remove identifying information]: Y,N = Y
-bload settings from specified inifile, e.g. '-b /etc/mricron.ini'
-cCollapse input folders: Y,N = N
-dDate in filename [filename.dcm -> 20061230122032.nii]: Y,N = Y
-eevents (series/acq) in filename [filename.dcm -> s002a003.nii]: Y,N = Y
-fSource filename [e.g. filename.par -> filename.nii]: Y,N = Y
-ggzip output, filename.nii.gz [ignored if '-n n']: Y,N = Y
-iID in filename [filename.dcm -> johndoe.nii]: Y,N = Y
-noutput .nii file [if no, create .hdr/.img pair]: Y,N = Y
-oOutput Directory, e.g. '/tmp' (if unspecified, source directory is used)
-pProtocol in filename [filename.dcm -> TFE_T1.nii]: Y,N = Y
-rReorient image to nearest orthogonal: Y,N
-sSPM2/Analyze not SPM5/NIfTI [ignored if '-n y']: Y,N = N
-vConvert every image in the directory: Y,N = Y
-xReorient and crop 3D NIfTI images: Y,N = N
You can also set defaults by editing /home/michael/.dcm2nii/dcm2nii.ini
Examples
dcm2nii -a y /home/joe/Documents/dcm/IM_0116
Releases
Unchanged in 4 releases since Debian 7 (Wheezy).