I want to flip a volume using simpleitk.
vol = np.arange(1, 25).reshape((4, 6)) print(vol) vol = sitk.GetImageFromArray(vol)
Result: