| swapDimension | R Documentation | 
The input data volume (assumed to be three-dimensional) is re-sliced so that each slice is in the axial plane. Orientation is preserved so that orthographic viewing is standardized.
swapDimension(img, dcm, digits = 2)
| img | Multidimensional array (assumed to be three-dimensional only). | 
| dcm | DICOM header/image object associated with the multidimensional array. | 
| digits | Number of significant digits used in testing
 | 
Multidimensional array with (potentially) permuted dimensions
because of the reslicing operation.  An additional attribute
“pixdim” is provided in order to facilitate conversion from
DICOM to NIFTI/ANALYZE.
Brandon Whitcher bwhitcher@gmail.com
dicom2nifti, getOrientation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.