#!/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