Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

threshold

#!/bin/sh

# Apply multiple ordered operations: 
# multiplication followed by thresholding 
# and then making the image binary

fslmaths img -mul gm_mask -thr 0.5 -bin img_gm_bin 
 
PREVIOUS NEXT
Tagged: #threshold
ADD COMMENT
Topic
Name
8+7 =