Why I get this command when I do convert Dicom to nifti using file exchange ?

7 views (last 30 days)
I want to use file exchange -dicm2nii- to obtain nifti files. I can use spm without any problem and its converted.

Answers (1)

Walter Roberson
Walter Roberson on 14 Jun 2017
You are converting multiple DICOM files. The data files for two of them, PRADEEP and PIUMI, use a different ImageOrientationPatient than the others do. DICOM is fine with that because it handles each one individually, but NIFTI files do not support that. The code does not happen to know how to reorient the images so it just gives up on saving the files.
You will need to either improve the code to know how to reorient automatically, or else change the orientation on those two specific files, or else leave them out of the data.

Categories

Find more on DICOM Format in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!