#!/bin/sh # Make image containing positive values only by thresholding at 0 fslmaths img -thr 0 img_pos