Part of ants registration suite
ExtractSliceFromImage \,imageDimension inputImage outputSlice direction(e.g. 0, 1, 2) slice_number\/