Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Neuroimaging
  3. dcm2niix

dcm2niix

NOASSERTIONC++v1.0.20250506

Converts neuroimaging data from the DICOM format to the NIfTI format and generates BIDS JSON sidecars.

Visit WebsiteGitHubGitHub
1.1k stars257 forks0 contributors

What is dcm2niix?

dcm2niix is a command-line tool that converts neuroimaging data from the DICOM format, used by medical imaging devices, to the NIfTI format preferred by researchers. It solves the problem of inconsistent DICOM interpretations across vendors and generates standardized BIDS JSON metadata sidecars to facilitate reproducible brain imaging studies.

Target Audience

Neuroscientists, radiologists, and researchers working with medical imaging data who need to convert DICOM files to analysis-ready NIfTI format and adhere to BIDS standards for data organization.

Value Proposition

Developers choose dcm2niix for its accuracy in handling vendor-specific DICOM quirks, its ability to generate BIDS-compliant metadata, and its status as a community-supported, open-source tool that is widely integrated into neuroimaging pipelines.

Overview

dcm2nii DICOM to NIfTI converter: compiled versions available from NITRC

Use Cases

Best For

  • Converting clinical DICOM MRI scans to NIfTI for research analysis
  • Generating BIDS-compliant metadata sidecars for neuroimaging datasets
  • Handling compressed DICOM images with JPEG, JPEG-LS, or JPEG2000 encoding
  • Integrating DICOM conversion into automated neuroimaging pipelines
  • Ensuring vendor-agnostic conversion of brain imaging data
  • Preparing imaging data for tools like FSL, SPM, or AFNI

Not Ideal For

  • Converting non-neuroimaging DICOM data like cardiac or abdominal scans where vendor nuances may differ
  • Users needing a graphical user interface without any command-line interaction
  • Projects handling proprietary pre-DICOM formats from legacy imaging devices
  • Real-time or interactive image conversion scenarios requiring immediate feedback

Pros & Cons

Pros

Broad Compression Support

Handles various DICOM transfer syntaxes including JPEG, JPEG-LS, and JPEG2000, with optional GZ compression and pigz integration for faster processing, as detailed in the README.

BIDS Metadata Generation

Automatically creates standardized JSON sidecar files compliant with the BIDS specification, providing vendor-agnostic metadata critical for reproducible neuroscience research.

Multi-Platform Availability

Offers precompiled binaries for Linux, macOS, and Windows, plus easy installation via package managers like Homebrew, Conda, and apt-get, ensuring wide accessibility.

Community-Driven and Integrated

Developed and maintained by the neuroimaging community, it is widely integrated into tools like MRIcroGL, Freesurfer, and BIDS converters, enhancing reliability and support.

Cons

Optional Dependencies Complexity

Full support for advanced compression formats like JPEG2000 and JPEG-LS requires compiling with external libraries such as OpenJPEG or CharLS, adding setup overhead.

Command-Line Only Interface

Lacks a built-in graphical user interface, which can be a barrier for users unfamiliar with terminal commands, though wrappers like MRIcroGL exist.

Neuroimaging Focus Limitations

Primarily optimized for brain imaging data; conversion accuracy for other medical imaging domains may be less tested or supported.

Frequently Asked Questions

Quick Stats

Stars1,148
Forks257
Contributors0
Open Issues4
Last commit11 days ago
CreatedSince 2014

Tags

#neuroscience#open-science#cli-tool#neuroimaging#dicom#medical-imaging#jpeg#cross-platform#research#data-conversion

Built With

m
miniz
z
zlib
C
CMake
C
C++

Links & Resources

Website

Included in

Neuroimaging36
Auto-fetched 5 hours ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub