Why I get this command when I do convert Dicom to nifti using file exchange ?
3 views (last 30 days)
Show older comments
I want to use file exchange -dicm2nii- to obtain nifti files. I can use spm without any problem and its converted.
0 Comments
Answers (1)
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.
0 Comments
See Also
Categories
Find more on DICOM Format in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!