External Email - Use Caution there are not options to autorecon1 specifically. You can pass some watershed args on the command line, but it is probably easier to use an expert options file, eg, create a text file (eg, xopts.txt) with something like
mri_watershed -less
then run recon-all with -expert xopts.txt (and the rest of your args)
You can add as many options as you want to that line

On 7/31/2023 1:22 PM, Michelangelo Fabbrizzi wrote:

        External Email - Use Caution

Dear Yujing,

thanks again for your help, just a last question, how can give to autorecon1 the input to use certain options at the mri_watershed step (for instance a certain preflood height (-h 5) or use of the atlas option (-atlas))?

recon-all -s sub-01_recon -i T1w.nii.gz -autorecon1 xxxx

Your help is greatly appreciated!

Michelangelo

Il giorno 31 lug 2023, alle ore 17:23, Huang, Yujing <yhuan...@mgh.harvard.edu> ha scritto:

       External Email - Use Caution

I'm not sure how to force mri_watershed command to use the brainmask.mgz already created.

Recon-all '-gcut' is achieved by running mri_gcut after mri_watershed.

-----Original Message-----
From: freesurfer-boun...@nmr.mgh.harvard.edu <freesurfer-boun...@nmr.mgh.harvard.edu> On Behalf Of Michelangelo Fabbrizzi
Sent: Sunday, July 30, 2023 9:32 AM
To: freesurfer@nmr.mgh.harvard.edu; fsbuild <fsbu...@contbay.com>; freesurfer-ow...@nmr.mgh.harvard.edu
Subject: [Freesurfer] mri_watershed and improvements of skullstripping

       External Email - Use Caution

Dear Freesurfer experts,

I am new to FS, and I would have couple of questions.
I used in sequence:
A- recon-all -i sub-01_T1w.nii.gz -s sub-01_recon -autorecon1
B- recon-all -skullstrip -wsthresh 5 -clean-bm -s sub-01_recon
C- recon-all -skullstrip -clean-bm -gcut -subjid sub-01_recon

The brainmask.mgz obtained is good (no skull, brain is okay), however if I now use mri_watershed to obtain the bem surfaces, it looks the brainmask.mgz is not used and it is created a new one called ws.mgz that still contain some piece of skull that generate wrong BEM surfaces; even using -h 5 the result is not optimal: mri_watershed -h 5 -useSRAS -surf /Users/michelangelo/Test_skullstripping/sub-01_recon/bem/watershed/sub-01_recon /Users/michelangelo/Test_skullstripping/sub-01_recon/mri/T1.mgz /Users/michelangelo/Test_skullstripping/sub-01_recon/bem/watershed/ws.mgz

I am wondering:
- how can I force the mri_watershed command to use the brainmask.mgz already created after step C above, instead of creating a new one?
- is it possible to use the -gcut command also for mri_watershed?

Thanks, appreciated,

Miche




_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://secure-web.cisco.com/1cF5CFj8ObeEdVU_l8xNGBdbJJ0PpzQ0VrSp5AzRUYXgIxGRUfeyVxaZ9CYyltHFOjkFZr3L3v8Sj-Q43KuOROdbHN-BlQ3kEJGstPNrP89sh3tzlULMEJfhOIV7yDG5cLd7US9Kdx53lxH37tG4cbcrN_SIdEfVaeujvuwgCe_pY9kNgRR711jNjJ2Gju8uAvp6b5417gKL24XKNTz3S6v3aZhiUihlhwcdxG299RmBHNNN8FcuFLe-cD6e0ldB-GgQiuKLGfy6Wc1IOUQpuKw/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer


_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://secure-web.cisco.com/15k8N-Zo4AKDYaXF49SR8hi6D1Ts33kcqH2-zVmVVMdx_wYSEpXxC-rSwtJiecx6qlFIVgt-51BJOM5LZsE_ljTF9wwpyXuoQ3wI-wmss1Z7NEk1k9V7Y2gOts_89x281g-1Fh0WLdVN7mXlzRSFr20A7N0R2BmRGbNX-tB5mQlz7HTEKagZoiun9I6gbpgn_Flj9imjx5uDE_3yqNiUikyZaiG9bE5hdaPAoYN87fqNiuiYAo7gEtm8XR2vvArrr/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 https://secure-web.cisco.com/1lYbMeUuB3ZNZzX5_HF-RzuItvwTGVyuABaYThW437kw_lsdMuaS3KofGAQlE1PXtnzXXCqtHc1eMhJYz6zonGfAznIJFJ-fKcKrm-fDUDU7pv4yRCwGP0IsrxUyqHOvTBIRm3Wcp56rC5t9tBdF5M3s3ukjZjLCOWvP7z5asuohDd51LZCHZ9Pj6rl-BqvXSHZU4WwsvodG1Qgg3DXBrRo3c0yhlt4bBmLdaYHFEiRemaqKiMinIlO_1KTqSjt0f/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline <https://secure-web.cisco.com/1lYbMeUuB3ZNZzX5_HF-RzuItvwTGVyuABaYThW437kw_lsdMuaS3KofGAQlE1PXtnzXXCqtHc1eMhJYz6zonGfAznIJFJ-fKcKrm-fDUDU7pv4yRCwGP0IsrxUyqHOvTBIRm3Wcp56rC5t9tBdF5M3s3ukjZjLCOWvP7z5asuohDd51LZCHZ9Pj6rl-BqvXSHZU4WwsvodG1Qgg3DXBrRo3c0yhlt4bBmLdaYHFEiRemaqKiMinIlO_1KTqSjt0f/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline> .


_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://secure-web.cisco.com/15k8N-Zo4AKDYaXF49SR8hi6D1Ts33kcqH2-zVmVVMdx_wYSEpXxC-rSwtJiecx6qlFIVgt-51BJOM5LZsE_ljTF9wwpyXuoQ3wI-wmss1Z7NEk1k9V7Y2gOts_89x281g-1Fh0WLdVN7mXlzRSFr20A7N0R2BmRGbNX-tB5mQlz7HTEKagZoiun9I6gbpgn_Flj9imjx5uDE_3yqNiUikyZaiG9bE5hdaPAoYN87fqNiuiYAo7gEtm8XR2vvArrr/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 
<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. 

Reply via email to