You shoul use mri_label2vol with ROI.nii as the --seg input. How do you know that --regheader is right?
On 8/15/19 3:13 PM, Rihana Rayan wrote: > > External Email - Use Caution > > Dear FS users, > I have performed recon-all on structural data and created ROIs (using > mri_binarize), I want to mask functional data (GLM beta) with ROIs. To > match the file sizes, I resampled the ROI.nii by performing the command: > mri_vol2vol --mov ROI.nii --targ beta_01.nii --regheader --o > ROI_in_beta.nii > Multiplying ROI_in_mask.nii by GLM beta, results in NaN over some > voxels. Can anyone help me solve the problem? > > Best regards, > Rihana > > > > _______________________________________________ > Freesurfer mailing list > Freesurfer@nmr.mgh.harvard.edu > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer