Hello,
I'm trying to mask an image with a certain threshold. I understand that I can do this with 3dcalc in the following way:
Example: if I want to use a threshold value of 3, then 3dcalc -a file.nii -expr 'iszero(a-3)' -prefix maskimage
The output will be zeros where values do not equal 3 and 1s where they do
But now I want there to be several threshold values. For example, now I want it to report 1s if the value is 3 OR 6 OR 25 and zeros elsewhere. How do I do this? Is there an OR operand?
thanks!