rotate3D | R Documentation |
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)
volume |
a 3D image volume |
axis |
positive integer in range 1L..3L or an axis name, the axis to use. |
degrees |
integer, must be a (positive or negative) multiple of 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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.