MATLAB Answers

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

Latest activity Answered by Walter Roberson
on 14 Jun 2017
I want to use file exchange -dicm2nii- to obtain nifti files. I can use spm without any problem and its converted.

  0 Comments

Sign in to comment.

Tags

1 Answer

Answer by 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

Sign in to comment.