Hi Kambiz
sounds like something is wrong with the nifti file. Have you tried running mri_convert directly on the dicom files?
cheers Bruce On Mon, 17 Sep 2018, Kambiz Tavabi wrote:
External Email - Use Caution
Greetings, I am having trouble converting flash volumes (nii.gz) to mgz type using mri_convert. I used dcm2nii to unpack original DICOM files and subsequently the command mri_convert flash5.nii.gz flash5.mgz fails with... niiRead(): bad number of dimensions (-26421) Also, corresponding flash30.nii.gz conversion files with similar error: niiRead(): bad number of dimensions (25612). Any ideas what this error means? and how to resolve?
Kambiz Tavabi PhD Institute for Learning & Brain Sciences 1715 Columbia Road N Portage Bay Building Box 357988 University of Washington Seattle, WA 98195-7988 Tel: 206-685-6173