Actually, I also noticed that when mri_convert runs, it says something like "changing data type from 3 to 0 "
The data type of the nii file is float32, while the converted .mgz id uchar, is it the problem?


Thanks
Guang


From: freesurfer_zg@hotmail.com
To: freesurfer@nmr.mgh.harvard.edu
Date: Fri, 21 Aug 2009 11:37:18 -0500
Subject: [Freesurfer] a question about mri_convert

Hi, there,

I got a question about mri_convert.
I have a brainmask.nii file, (max intensity value is 64, and minimum intensity is 0), it shows good intensity contrast.
Now I want to use mri_convert to convert it to mgz file, my command line is

mri_convert A.nii --conform A.mgz

Now, I open A.mgz using Tkmedit, I can not see those significant intensity contrast now, and the max intensity value is 255, and minimum intensity is 0
It looks like mri_convert do something like histogram equalization or normalization.

Will mri_convert actually change the intensity value of each voxel?
Can I keep my original intensity value for each voxel? Use the mri_convert -sc?

Thanks a lot!

Guang



Windows Live: Keep your friends up to date with what you do online. Find out more.

Windows Live: Make it easier for your friends to see what you’re up to on Facebook. Find out more.