Re: [Freesurfer] Extracting brain volume seperately

2023-02-22 Thread Douglas N. Greve
We do not generate a scalp segmentation (but you can use samseg which 
generates skull and something like skin). If you want to create a binary 
volume with a chosen seg or tissue type = 1 and everything else = 0, you 
can use something like

mri_binarize --i aseg.mgz --match 4 5 14 15 43 44 --o csf.mgz
where those numbers come from $FREESURFER_HOME/FreeSurferColorLUT.txt 
just chose the ones you want


On 2/1/2023 12:00 PM, 江一川(JIANG Yichuan) wrote:


External Email - Use Caution

Hi Douglas,

Thank you for your reply. I'm a beginner in freesurfer and my previous 
statement was not very clear. My purpose is to generate new .mgz files 
(e.g., scalp.mgz and CSF.mgz, etc.) that are not in the MRI folder.


Bset regards,
Yichuan Jiang


-- Original --
*From: * "Douglas N. Greve";
*Date: * Wed, Feb 1, 2023 11:00 PM
*To: * "freesurfer";
*Subject: * Re: [Freesurfer] Extracting brain volume seperately
everything except skull and scalp are in the aseg.stats file. You can 
get skull by running samseg, eg,

cd subject/mri
samseg --i orig.mgz --o samseg
there will be a stats file in the samseg folder with skull volume in it

On 2/1/2023 5:00 AM, 江一川(JIANG Yichuan) wrote:


External Email - Use Caution

Dear Experts,

How can I extract scalp, skull, csf, gray, and white volume, seperately.
Best wishes,
Yichuan Jiang

___
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
___
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. 


Re: [Freesurfer] Extracting brain volume seperately

2023-02-01 Thread 江一川(JIANG Yichuan)
External Email - Use Caution

Hi Douglas,


Thank you for your reply. I'm a beginner in freesurfer and my previous 
statement was not very clear. My purpose is to generate new .mgz files (e.g., 
scalp.mgz and CSF.mgz, etc.)that are not in the MRI folder.


Bset regards,
Yichuan Jiang






--Original--
From: "DouglasN.Greve"https://secure-web.cisco.com/1qKhn1BLp2NMmERPwOrs28fCewtePETt_ggLbYKXdG7Y__eOt8AGAxHUASRoStl37YAyy5VRWjeFn4VxQ_NxJZwx2glSpL2EOxXT56N5JeI8xEy1HuMnGu3OtqADSzFc5zLaUOL9bufc0w42nQQpYr6Mpyysmuc8R5tGbJvgQJGrKqjP30-wBejFRS86eUesQTmgyyux7ZCShQuNiLwPZri0sfU5xZOZEWBj_R-hLz5nQYMbMitbwXf0yuEj5a6omsTOpM50FiYnCRS6VR6XmZK_lrEvM8nRLyAoFuAL7LFOtYdWgGzrnhNhKSIKHitzDy65gYjVssZIsJ1aBI6iwLw/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer___
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 
 .
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. 


Re: [Freesurfer] Extracting brain volume seperately

2023-02-01 Thread Douglas N. Greve
everything except skull and scalp are in the aseg.stats file. You can 
get skull by running samseg, eg,

cd subject/mri
samseg --i orig.mgz --o samseg
there will be a stats file in the samseg folder with skull volume in it

On 2/1/2023 5:00 AM, 江一川(JIANG Yichuan) wrote:


External Email - Use Caution

Dear Experts,

How can I extract scalp, skull, csf, gray, and white volume, seperately.
Best wishes,
Yichuan Jiang

___
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
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 
 .
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. 


[Freesurfer] Extracting brain volume seperately

2023-02-01 Thread 江一川(JIANG Yichuan)
External Email - Use Caution

Dear Experts,  
How can I extract scalp, skull, csf, gray, and white volume, seperately. 
Best wishes,Yichuan Jiang___
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 
 .
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.