This function splits the dimensionality d input image into a list of images
with dimensonality d-1 by slicing the input image along its last dimension.
Usage
splitNDImageToList(img)
Arguments
img
input image of class antsImage, last dimension will be split
Value
output list filled with d-1 volumes of class antsImage