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 Caution
Hi 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
MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be 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