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