Answers for "fslmaths subtract"

0

fslmaths subtract

#!/bin/sh

# Make an empty image (same dimensions as input image). 
# See also fslhd.

fslmaths img -sub img empty_img # subtract the image from itself
# OR
fslmaths img -mul 0 empty_img  # mulitply the image by 0
Posted by: Guest on April-10-2021
0

fslmaths subtract

#!/bin/sh

# Subtract one mask from another.  Binarize the resulting difference
# with -bin to get rid of negative numbers. See the jaccard index to expand on this use.

fslmaths mask1 -sub mask2 -bin mask_diff
Posted by: Guest on April-08-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language