MRIcro opens it, and so does SPM 8.
-----Original Message----- From: freesurfer-boun...@nmr.mgh.harvard.edu [mailto:freesurfer-boun...@nmr.mgh.harvard.edu] On Behalf Of Bruce Fischl Sent: Tuesday, June 09, 2015 3:02 PM To: Freesurfer support list Subject: Re: [Freesurfer] bad magic number Hi Jennifer can MRIcro read it? Usually that means it is corrupted Bruce On Tue, 9 Jun 2015, Kriegel, Jennifer Lynn Sarai wrote: > > Hi, > > > > I’m getting a bad magic number error using mri_convert. I’m trying to > convert a .nii file to a .mgz file. I’ve searched all over and all I > can find is that you can use python in another program to delete this > number, and it is related to the file extension. I’ve tried using the > .nifti1 extension, as well as .nii, as I have a .img file in the > folder as well, but then it doesn’t recognize the file extension. The > files were converted using mricro from hdr/img MPRAGE files to correct > orientation into the .nii files. > > > > I also tried using the original .hdr file to convert, and it spits out > an orientation error. > > > > Any help would be appreciated. > > > > > > - Jennifer Lynn Sarai Kriegel > > MS in Psychological Sciences, Cognition and Neuroscience Emphasis > > Functional Neuroimaging of Memory Lab, Center for Vital Longevity > > The University of Texas at Dallas > > jlk130...@utdallas.edu > > ------------------------------------------------------------ > > I am looking for a lot of men who have an infinite capacity to not > know what can't be done. > > - Henry Ford > > > > The important thing is not to stop questioning. Curiosity has its own > reason for existing. > > - Albert Einstein > > > > > _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.