I'm not sure what is going wrong with it, but you can do this yourself with
mri_binarize --i aparc+aseg.mgz --match 7 --o bin7.mgz
Then do the same with 8, 46, 47
On 5/17/2021 6:39 PM, A.R. Sekar wrote:
External Email - Use Caution
External Email - Use Caution
Hello experts,
I am doing cerebellar segmentation from one of my previous posts using
the command:
isolate_labels.csh --vol aparc+aseg.mgz --outprefix aparc+aseg_labels
--L $label 7,8,46,47
Following the command I am getting an expression syntax error:
Akilas-MacBook-Air:B301001 akilasekar$ isolate_labels.csh --vol
aparc+aseg.mgz --outprefix aparc+aseg_labels --L $label 7,8,46,47
Input file: aparc+aseg.mgz
Output prefix: aparc+aseg_labels
mri_convert aparc+aseg.mgz aparc+aseg.nii.gz
reading from aparc+aseg.mgz...
TR=0.00, TE=0.00, TI=0.00, flip angle=0.00
i_ras = (-1, 0, 0)
j_ras = (0, 0, -1)
k_ras = (0, 1, 0)
writing to aparc+aseg.nii.gz...
Label of interest: 7,8,46,47
@: Expression Syntax.
It would be great if you can help me solve this. Thanks!
Akila
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://secure-web.cisco.com/1vNaTYnGTEQZAcbG9_VTLwurdZ_OqoRTQ7WmDDplBcHxdzVawTjaBAeqq1owLKbOaOnmk-n_kr2Quk5shv7AZwLmt2taPOninL5uOgNqSjdpbZoXmMr58mBFMJfANvLOnqYoZwX741XaYaZqC9WV6z0oPzKdavUYGQmifubTkHb-jIOAX0tlDH8BbmMyMXmWxK3-3AgVwgZ7s_kf6vamgoLN3oTLj6LTi4oh5PnZi_C3873-0N63Fzdw7u5iinyRkMVsYY1AzLNOkdRlOk6vzyw/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 http://www.massgeneralbrigham.org/complianceline . If
the e-mail was sent to you in error but does not contain patient information,
please contact the sender and properly dispose of the e-mail.
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.