External Email - Use Caution
Dear All,
I have a similar problem to the one posted here ( Re: [Freesurfer] mri_convert scaling ). In my case I'm trying to convert from ANALYZE (.img, .hdr and .mat) to NIFTI and I need to keep the scale as in the original file. I've tried the -ns 1 flag but it doesn't work (which is not surprising as I've seen on the help page that it is for COR).
The file was originally in NIFTI format and was converted to ANALYZE (mri_convert), as I had to use a tool that only accepts this format, and now I'm trying to go back to NIFTI. I would like to know if there is a way of doing it without rescaling the output.
These are the contents of the folder:.
├── CC0061_philips_3_55_F_full_normfilter.hdr
├── CC0061_philips_3_55_F_full_normfilter.img
├── CC0061_philips_3_55_F_full_normfilter.mat
And this is the output of the command call:
$ mri_convert -ns 1 CC0061_philips_3_55_F_full_normfilter.img test.nii
mri_convert.bin -ns 1 CC0061_philips_3_55_F_full_normfilter.img test.nii
$Id: mri_convert.c,v 1.226 2016/02/26 16:15:24 mreuter Exp $
reading from CC0061_philips_3_55_F_full_normfilter.img...
analyzeRead() roi_scale 0.003921570
analyzeRead() scaling by 0.003921570
TR=0.00, TE=0.00, TI=0.00, flip angle=0.00
i_ras = (0.984889, -0.156173, 0.0748529)
j_ras = (0.154421, 0.987589, 0.0286842)
k_ras = (-0.0784036, -0.0166919, 0.996782)
writing to test.nii...
Thanks in advance for your time,
Best