File Exchange

image thumbnail

DICOM to NIfTI converter

version 1.3.0.0 (16.3 KB) by Guilherme Coco Beltramini
Simple DICOM to NIfTI converter. Gradient table for DTI files is also created.

18 Downloads

Updated 03 Jun 2013

View License

dicom2nifti converts DICOM files to NIfTI format and creates the gradient table for DTI files.

For DTI files, two tables are generated: the original gradient table (in scanner coordinates) and the rotated gradient table (in patient coordinates).

Specific gradient directions and/or slices can be eliminated.

dicom2nifti has been tested with DICOM files from Philips Achieva 3T R2.6.

Comments and Ratings (3)

Error comes up:

(18:36:17) Running dicom2nifti.m...
- File 1/1:
Reading DICOM data... Done!
Reading DICOM header...Reference to non-existent field 'Private_2001_1018'.

Error in dicom2nifti (line 143)
Nslices = dcmhdr.Private_2001_1018;

there is a bad line of code: line 147 in dicom2nii.m

Updates

1.3.0.0

Added screenshot

1.1.0.0

The functions from the "Tools for NIfTI and ANALYZE image" were missing.

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Acknowledgements

Inspired by: Tools for NIfTI and ANALYZE image