/nifti2dicom

Convert 3D NIfTI images (and other formats supported by ITK) to DICOM 2D series

Primary LanguageC++GNU General Public License v3.0GPL-3.0

Note: This repo build only command line tools: src/core. todo: src/gui

Build with:

  • TCLAP 1.2.4
  • GDCM 3.0.8
  • ITK 5.2.0

The standalone executable binaries uploaded to Releases, just download and use it.

docker container: yinglilu/nifti2dicom

Nifti2Dicom

Convert 3D medical images to DICOM 2D series

Nifti2Dicom is a conversion tool that converts 3D NIfTI files (and other formats supported by ITK, including Analyze, MetaImage Nrrd and VTK) to DICOM. Unlike other conversion tools, it can import a DICOM file that is used to import the patient and study DICOM tags, and allows you to edit the accession number and other DICOM tags, in order to create a valid DICOM that can be imported in a PACS.

Source code is in directory is split into 2 parts:

  • src/core (command line tool)
  • src/gui (GUI)

To build Nifti2Dicom you need:

  • Command line tools:

    • Insight Toolkit (ITK) 3.17 or later using GDCM 2.xx (ITK 4.4.1 or later is recommended, as with previous versions, the produced files might be incorrect, see ITK-281)
    • Templatized command-line argument parser for C++ (TCLAP) 1.2 or later
  • GUI

    • Qt4 (4.4 or later)
    • Visualization toolkit (VTK) 5 or 6 with Qt4 support enabled
  • Documentation

    • Doxygen
    • Graphwiz

Build Status GitHub version DOI