Refactor N-dimensial array resampling and add additional functionality
dtype(image)
image.astype(dtype)