Hi Beatriz, mri_segstats has masking options - https://surfer.nmr.mgh.harvard.edu/fswiki/mri_segstats
Hope this helps. Best, Yujing From: freesurfer-boun...@nmr.mgh.harvard.edu <freesurfer-boun...@nmr.mgh.harvard.edu> On Behalf Of Beatriz Cavendish Sent: Thursday, December 22, 2022 1:35 PM To: Freesurfer support list <freesurfer@nmr.mgh.harvard.edu> Subject: Re: [Freesurfer] [WARNING: ATTACHMENT UNSCANNED]Volumetric extraction from volumetric mask in MNI space External Email - Use Caution Sorry, I think I expressed myself incorrectly. I segmented 50 heads and wanted to quantify the volume for each of the 50 heads using this mask. Is there a step before mri_segstats to record the mask in each head space and quantify for each individual? Em qui., 22 de dez. de 2022 às 01:13, Douglas N. Greve <dgr...@mgh.harvard.edu<mailto:dgr...@mgh.harvard.edu>> escreveu: Try mri_segstats --seg Cluster1_R.nii.gz --id 1 --sum sum.R.dat That will give you the number of voxels that have a value=1 times the size of the voxel (so the volume). It will not be in MNI space unless the nifti files you sent are in MNI space. On 12/21/2022 5:42 PM, Beatriz Cavendish wrote: External Email - Use Caution Hello, I would like to know the step by step to obtain volume (mm3) from a volumetric mask in the MNI space (follow the attached nifti file). I checked the forum but the tutorials are for surface extraction and cortical thickness. Yours sincerely, -- Beatriz Araújo Cavendish, MSc PhD student | Psychologist University of São Paulo São Paulo/SP - Brazil _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu<mailto: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<https://secure-web.cisco.com/1SkfYTGplTGZkUmGQ4QczqticfHXX8i9Ntb0tv4nkUblaMmOg4OGCI_9B78TcLo82l56t4X5NyrVnsd7FTuO1qWIGOAI1jJq8yoECZLie3wthw5Il6do2B6SNEhvxPsB8QoRT_MDO6LmeirJp_LG-a59aWUSlnmKGnIs4OlXJ0XfYXgum7Yana6KvyoW-8b4SPPjx-0_bTVIcxBIyiqbcav7HVoVCwMcECCDQeRdguamG2R15ESZyC7F9bovN3WGecRHadB4CdgTAoaW0pS3N9tDJbOdGIuqdujjk9fknX6JE6iZStcv9poaASpZX8y30/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer> _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu<mailto: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<https://secure-web.cisco.com/1SkfYTGplTGZkUmGQ4QczqticfHXX8i9Ntb0tv4nkUblaMmOg4OGCI_9B78TcLo82l56t4X5NyrVnsd7FTuO1qWIGOAI1jJq8yoECZLie3wthw5Il6do2B6SNEhvxPsB8QoRT_MDO6LmeirJp_LG-a59aWUSlnmKGnIs4OlXJ0XfYXgum7Yana6KvyoW-8b4SPPjx-0_bTVIcxBIyiqbcav7HVoVCwMcECCDQeRdguamG2R15ESZyC7F9bovN3WGecRHadB4CdgTAoaW0pS3N9tDJbOdGIuqdujjk9fknX6JE6iZStcv9poaASpZX8y30/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer> 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<https://secure-web.cisco.com/1apP5b73sJ-CiMBu0d89iVD_17tcYL1hOut7ORyZ_qzJxO9GVZCKZv7cxNTCyat-0qI1dhvllBi4NaQxwYkd131P0H_f0jFgKbqw1myXQHHqB8uC0wecAF7erqOWIxcRQEns60ER2ys3DAw7YtYcsjsQDRVhSLp1toJhgkB2qZDFHcvbHQajLe3gzgGZ-KmAq-Z9psytB0PTJZtt1LJ2K8RU_Ksop27GSePhlE_H_vq3erKaLOdzMf-I6o9UtDZqT8Ndwm1YsOSy-5tr3f9Dj2Zq8tjXWp6r0-4Ov4Itmqlnnt_42HVw47Rb8A2gVxFjl/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline> <MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://www.massgeneralbrigham.org/complianceline<https://secure-web.cisco.com/1apP5b73sJ-CiMBu0d89iVD_17tcYL1hOut7ORyZ_qzJxO9GVZCKZv7cxNTCyat-0qI1dhvllBi4NaQxwYkd131P0H_f0jFgKbqw1myXQHHqB8uC0wecAF7erqOWIxcRQEns60ER2ys3DAw7YtYcsjsQDRVhSLp1toJhgkB2qZDFHcvbHQajLe3gzgGZ-KmAq-Z9psytB0PTJZtt1LJ2K8RU_Ksop27GSePhlE_H_vq3erKaLOdzMf-I6o9UtDZqT8Ndwm1YsOSy-5tr3f9Dj2Zq8tjXWp6r0-4Ov4Itmqlnnt_42HVw47Rb8A2gVxFjl/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline>> . -- Beatriz Araújo Cavendish, MSc PhD student | Psychologist University of São Paulo São Paulo/SP - Brazil
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu 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 https://www.massgeneralbrigham.org/complianceline <https://www.massgeneralbrigham.org/complianceline> . Please note that this e-mail is not secure (encrypted). If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately. Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail.