Flip the slice of an 3D array horizontally or vertically along an axis. This leads to an output array with identical dimensions.
flip3D(volume, axis = 1L, how = "horizontally")
a 3D image volume
positive integer in range 1L..3L or an axis name, the axis to use.
character string, one of 'horizontally' or 'vertically'. How to flip the 2D slices. Note that flipping *horizontally* means that the image will be mirrored along the central *vertical* axis.
a 3D image volume, flipped around the axis. The dimensions are identical to the dimensions of the input image.
Other volume math:
rotate3D()