Why I get this command when I do convert Dicom to nifti using file exchange ?
5 次查看(过去 30 天)
显示 更早的评论
I want to use file exchange -dicm2nii- to obtain nifti files. I can use spm without any problem and its converted.
0 个评论
回答(1 个)
Walter Roberson
2017-6-14
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 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!