Re: [Freesurfer] aparc+aseg.mgz to nifti conversion

2014-09-11 Thread Douglas N Greve
See http://surfer.nmr.mgh.harvard.edu/fswiki/FsAnat-to-NativeAnat On 09/11/2014 05:12 AM, Gabor Perlaki wrote: > Dear all, > > I'd like to convert the aparc+aseg.mgz to nifti and use it in the > space of the original MR image. The basic conversion from mgz to nifti > works fine "mri_convert apa

Re: [Freesurfer] aparc+aseg.mgz to nifti conversion

2014-09-11 Thread Bruce Fischl
Hi Gabor try adding: -odt int to the mri_convert command line. Because the rawavg.mgz is type uchar it wants to convert to uchar otherwise, which is messing things up. cheers Bruce On Thu, 11 Sep 2014, Gabor Perlaki wrote: > Dear all, > > I'd like to convert the aparc+aseg.mgz to nifti and

[Freesurfer] aparc+aseg.mgz to nifti conversion

2014-09-11 Thread Gabor Perlaki
Dear all, I'd like to convert the aparc+aseg.mgz to nifti and use it in the space of the original MR image. The basic conversion from mgz to nifti works fine "mri_convert aparc+aseg.mgz aparc+aseg.nii". However if I reslice it in the space of the original MRI than something fails and even negative