External Email - Use Caution
mri_convert aparc+aseg.mgz aparc+aseg.nii.gz
mri_convert nu.mgz nu.nii.gz
flirt -in nu.nii.gz -ref FA.nii.gz -omat f2d.matflirt -in aparc+aseg.nii.gz -ref FA.nii.gz -applyxfm -init f2d.mat -out aparc+aseg_diffspace.nii.gz
mri_convert aparc+aseg_diffspace.nii.gz aparc+aseg_diffspace.mgzmri_binarize --i aparc+aseg.mgz --o left_hippocampus.mgz --match 17
mri_convert left_hippocampus.mgz left_hippocampus.nii.gz
flirt -in nu.nii.gz -ref FA.nii.gz -omat f2d.mat
flirt -in left_hippocampus.nii.gz -ref FA.nii.gz -applyxfm -init f2d.mat -out left_hippocampus_diffspace.nii.gz
fslstats FA.nii.gz -k left_hippocampus_diffspace.nii.gz -M
_______________________________________________Hi Lin,
You can try mri_binarize to obtain the mask - MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://surfer.nmr.mgh.harvard.edu/fswiki/mri_binarize
FreeSurferColorLUT.txt in your Freesurfer install directory will give you a complete list of aparc/aseg labels.
Best,
Yujing
From: freesurfer-bounces@nmr.mgh.harvard.edu <freesurfer-bounces@nmr.mgh.harvard.edu> On Behalf Of Lin Cai
Sent: Tuesday, February 21, 2023 9:15 AM
To: freesurfer@nmr.mgh.harvard.edu
Subject: [Freesurfer] How to calculate the mean FA value in the hippocampus
External Email - Use Caution
Dear Freesurfer experts,
I want to calculate the mean FA value in the hippocampus.
Now I have already obtained the FA map for the whole brain in the native space.
And I have the aparc+aseg.mgz file after running the recon -all analysis.
Does someone know how to use freesurfer functions to obtain the hippocampus mask according to the DK atlas? I want to use this mask to calculate the mean FA value in the hippocampus.
Best regards,
Lin
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
The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://www.massgeneralbrigham.org/complianceline <MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://www.massgeneralbrigham.org/complianceline> .