NIfTI data can be converted between antsImage
(from the ANTsR package) and nifti S4 objects.
ants2oro( img, reorient = FALSE, reference = NULL, ..., cleanup = TRUE, drop_dim = TRUE )
| img | Object of class antsImage |
|---|---|
| reorient | Reorientation passed to |
| reference | Object of class |
| ... | Arguments passed to |
| cleanup | temporary files are deleted after they are read in |
| drop_dim | Should |
Object of class nifti.