External Email - Use Caution
Hi Dylan,
Give this a try: fscalc gm_lh.nii.gz div wm_lh.nii.gz --o gmwmratio_lh.nii.gz
On Wed, Feb 23, 2022 at 12:24 PM Tisdall, Dylan < mtisdall@pennmedicine.upenn.edu> wrote:
External Email - Use CautionHi all,
I've generated two surface overlays, using mri_vol2surf with positive and negative projfrac to get a GM and WM samples (gm_lh.nii.gz and wm_lh.nii.gz). I'd now like to take the vertex-wise ratio of these two overlays, and make a new one (gmwmratio_lh.nii.gz). I've tried doing this as:
fslmaths gm_lh.nii.gz -div wm_lh.nii.gz gmwmratio_lh.nii.gz
but the result is:
Image Exception: #22 :: Failed to read volume gm_lh.nii.gz Error : Error: Nonsensical ROI for gm_lh.nii.gz
Is there another tool I can use to compute this ratio? Is there a better workflow than making two surfaces and dividing?
Thanks, Dylan
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://secure-web.cisco.com/1Pyl66I_3XVo-h6e2JTyK2OSc2wi4d_XS3wRzXuOuXVzgG1...