DNA

dcm2niix – convert DICOM medical images to NIfTI format

dcm2niix is a command-line utility for converting medical imaging data from DICOM into the Neuroimaging Informatics Technology Initiative (NIfTI) format. It is particularly useful for researchers who need to prepare MRI and other neuroimaging datasets for analysis.

DICOM is the standard format used by medical imaging equipment, but its complexity and differences between scanner manufacturers can make research workflows difficult. NIfTI provides a simpler representation of imaging volumes and is widely supported by neuroimaging analysis applications.

dcm2niix handles the conversion of imaging datasets while preserving relevant acquisition information through accompanying metadata files. It supports configurable naming conventions, compression and anonymisation options, making it suitable for automated processing pipelines. The software is intended for research rather than clinical diagnosis.

This is free and open source software.

Key Features

  • Converts DICOM imaging datasets into NIfTI files for scientific analysis.
  • Generates JSON sidecar files containing metadata compatible with Brain Imaging Data Structure (BIDS) workflows.
  • Handles DICOM files produced by major scanner manufacturers, including Siemens, GE and Philips.
  • Supports uncompressed DICOM data, run-length encoding and several JPEG transfer syntaxes, with additional codecs available through optional libraries.
  • Offers configurable filenames based on acquisition information, protocol names and series identifiers.
  • Provides anonymisation controls for removing patient-identifying information from generated metadata.
  • Supports compressed NIfTI output, including gzip and optional Zstandard compression.
  • Can use parallel compression through pigz to accelerate processing.
  • Supports BIDS-oriented naming workflows and accompanying ReproIn processing tools.
  • Extracts supported physiological recordings and converts supported MR spectroscopy data into research-oriented formats.
  • Cross-platform support – runs on Linux, macOS, and Windows.

Website: github.com/rordenlab/dcm2niix
Support:
Developer: Chris Rorden and contributors
License: BSD 2-Clause ‘Simplified’ License

dcm2niix is written in C++. Learn C++ with our recommended free books and free tutorials.


Related Software

Medical Imaging Software
3D SlicerGeneral purpose biomedical software with visualization and analysis
XMedconMedical Image Conversion Utility
WeasisMultipurpose standalone and web-based DICOM viewer
OHIF ViewerBrowser-based medical imaging viewer
MRIcroGL Provides tools for 2D and 3D display of medical images
GATENumerical simulations in medical imaging and radiotherapy
dcm4cheDICOM implementation in Java
AMIDEA Medical Imaging Data Examiner
InVesaliusGenerate 3D medical imaging reconstructions
SMILIThe Simple Medical Imaging Library Interface
ITK-SNAPMulti-platform medical image segmentation application
ImageJ General image processing program with DICOM support
MITKMedical Imaging Interaction Toolkit
StarviewerMedical imaging software fully compliant with the DICOM standard
OrthancLightweight DICOM server
DicomBrowserInspect and edit DICOM header fields, and DICOM viewer
Aeskulap Medical image viewer
openDICOM.NETDICOM library project
kradviewDICOM viewer
Ginkgo CADxAdvanced DICOM viewer and dicomizer with conversion functionality

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted