External Email - Use Caution
Hello,
I had a question about re-running recon-all with a precalculated brainmask. I have a brain mask that was created outside of FreeSurfer that I would like to use instead of the brainmask that is created in recon-all. I tried the following command (also with the mask in its original .nii form) and I get an error that the brainmask doesn't exist and thus does not continue throughout the pipeline (attached).
recon-all -subjid test -i sub-HV3WJK_ses-MRI_rec-t1_N4norm.nii -xmask tweakedFSBrainMask2.mgz -all -noskullstrip
error: mghRead(/home/acrawford/ATP_calibration_data/sub-HV3WJK/ses-MRI/run-001/fsNormPipeline_1/FStweakedMask/mri/brainmask.mgz, -1): could not open file\00 error: mri_em_register: could not open mask volume brainmask.mgz. \00
I have also tried running the full recon-all as is, then substituting in my brainmask and the skull-stripped T1 (brain.mgz) using the -autorecon2 -autorecon3 flags, but continue to run into errors. Additionally, I tried just using the skull-stripped T1 as the input file to recon-all -all which also did not work.
Is there a way to run recon-all with an 'outside' mask?
Thank you, Anna _________________________ Anna Crawford Senior Image Analyst Phone: +1 (475) 318-8228
https://secure-web.cisco.com/1xGC1sEawWmlv8GxcdUL2zP-fxq-1FmQXHLPVcKBZRMk30m...https://secure-web.cisco.com/1VLzeHvfaohhAFcoPLU3_Ow60GssgJipCmxB89BVY9HZdaHVVwOdb6IJq6o3TSlbCUykNL8szggtAx564a3rKGxPEZUkvtvatAT9AGue2gw1mlhYulvu9Oznez2t_nSPSCCC8-mLNeDS4TtQ4q9221vAmApq7uv6Hw73RuzO2BKVjmphR9uBLqwyUUGxf6ihdBJdNXSH6Yc0Goan19v_pvpDCIiSu7ceSdeve2S2S9ZGw2od0qKZYxe2V43TbBDWoZ0iy3FdJp-zI-ck7Zy7tiswtR6adyqZNRJ08rj7qYQqKWD4D_BDvtI6jAmhd2gbk/https%3A%2F%2Flinkprotect.cudasvc.com%2Furl%3Fa%3Dhttps%253a%252f%252fxingimaging.com%252f%26c%3DE%2C1%2CMuf6W5aHviXOcXPptf2hDH03AWdudt_hFR_R8QxXKaRL2W1JpKHveDxGDzkbRcvmxUc2lnLGaqFt6bqIeUpYybOdEnM1bdVieh-V-r3q4Yzd%26typo%3D1%26ancr_add%3D1
[cid:84668487-aed4-4dc5-8b0f-b61383239667]
CONFIDENTIALITY NOTICE: Proprietary/Confidential Information belonging to XingImaging, LLC and its affiliates may be contained in this message. If you are not a recipient indicated or intended in this message (or responsible for delivery of this message to such person), or you think for any reason that this message may have been addressed to you in error, you may not use or copy or deliver this message to anyone else. In such case, you should destroy this message and are asked to notify the sender by reply e-mail.
freesurfer@nmr.mgh.harvard.edu