Rotate a 3D array in 90 degree steps along an axis. This leads to an array with different dimensions.
rotate3D(volume, axis = 1L, degrees = 90L)a 3D image volume, rotated around the axis. The dimensions may or may not be different from the input image, depending on the rotation angle.
Other volume math:
flip3D()