External Email - Use Caution Hello,
I have a set of binary mask files that I'm trying to assign different values to. Currently I'm doing: mri_binarize --i sub001.nii.gz --o final_sub001.nii.gz --replace -117 2 mri_binarize --I sub002.nii.gz --o final_sub002.nii.gz --replace -128 2 The problem I'm having is that the values (V1) for each binary mask is not constant. For example, for one participant the values may be -117 whereas the values are -128 for another participant. Is there a way to set a range for the --replace option so that I can loop it through the subjects rather than having to do this command for each one separately? Any suggestions would be greatly appreciated! Thank you, Da-Yea ---------------------------------------------------------------------- Disclaimer: The materials in this e-mail are private and may contain Protected Information. Please note that e-mail communication is not encrypted by default. You have the right to request further emails be encrypted by notifying the sender. Your continued use of e-mail constitutes your acknowledgment of these confidentiality and security limitations. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying, distribution, or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender via telephone or return e-mail.
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer