10/07/2025
Different analysis software often have their own data formats
To ensure information is preserved, it is important to:
Reproducible data processing
Most scanners output data in DICOM format.
DICOM support many medical imaging devices.
DICOM stores 2D, 3D, and 4D data and associated metadata.
DICOM files contain a header and data
Many software tools are available for parsing DICOM files
DICOMDIR
file.DICOMDIR
into the main panel of MicroDICOM.Much of the metadata in DICOM is irrelevant to existing imaging analysis tools
Most brain imagers typically convert data to NIfTI format
Across neuroimaging, there are many different data formats:
NIfTI1/2
(Most imaging tools)CIFTI2
(Connectome Workbench)MGH
, MGZ
, ANNOT
, CURV
, pial
(FreeSurfer)BRIK/HEAD
(AFNI)MINC2
(MNI Tools)Most of these formats store data in binary form and cannot be introspected like a text file. You will need to use specialised software to introspect those files.
dcm2niix
, for converting DICOMFSL
, for viewing NIfTIdcm2niix
in command line.FSLeyes
programme..nii
or .nii.gz
) in FSLeyes..json
) and examine some of the attributes.DICOM (left) to BIDS (right)
DICOM | NIfTI | |
---|---|---|
Primary Use | Clinical use | Research use (especially in neuroimaging) |
File Extension | .dcm |
.nii , .nii.gz |
Data Structure | Mostly 2D and 3D volumes as separate files | 3D or 4D volumes in a single file |
Metadata | Rich information, embedded in each file | Light-weight, in header and .json sidecar |
Interoperability | Widely supported in clinical systems (e.g. PACS) | Widely supported in neuroimaging tools (e.g. FSL, MRIQC) |
Li X, Morgan PS, Ashburner J, et al. The first step for neuroimaging data analysis: DICOM to NIfTI conversion. J Neurosci Methods. 2016; 264:47-56.
Hagen MP, Provins C, MacNicol E, et al. Quality assessment and control of unprocessed anatomical, functional, and diffusion MRI of the human brain using MRIQC. bioRxiv [Preprint]. 2024.