Re: [Freesurfer] mri_vol2vol binary mask

2015-09-28 Thread Douglas Greve
Add --interp nearest to use nearest neighbor interpolation instead of trilinear On 9/24/15 1:48 AM, Jinsong Tang wrote: Hello, I am try to convert some binary mask (0,1) to native space. I use this command line: mri_vol2vol --mov bin_mask.mgz --targ rawavg.mgz --regheader --o bin_mask _ra

Re: [Freesurfer] mri_vol2vol binary mask

2015-09-24 Thread Jinsong Tang
Hello Bruce, Yes, this works. Thanks, Jinsong On Thu, Sep 24, 2015 at 5:35 AM, Bruce Fischl wrote: > Hi Jinsong > > do you mean some of the values are not 1? By default I believe vol2vol > uses trilinear interpolation. Try including the option --nearest to use > nearest neighbor instead > > c

Re: [Freesurfer] mri_vol2vol binary mask

2015-09-24 Thread Bruce Fischl
Hi Jinsong do you mean some of the values are not 1? By default I believe vol2vol uses trilinear interpolation. Try including the option --nearest to use nearest neighbor instead cheers Bruce On Wed, 23 Sep 2015, Jinsong Tang wrote: Hello, I am try to convert some binary mask (0,1) to na

[Freesurfer] mri_vol2vol binary mask

2015-09-23 Thread Jinsong Tang
Hello, I am try to convert some binary mask (0,1) to native space. I use this command line: mri_vol2vol --mov bin_mask.mgz --targ rawavg.mgz --regheader --o bin_mask _rawavg.nii.gz –no-save-reg I found some result of “ bin_mask _rawavg.nii.gz” with intensity of 0.988 instead of 1. Is there som