ants2oro: Convert Between antsImage and nifti objects

Description Usage Arguments Value

View source: R/oro2ants.R

Description

NIfTI data can be converted between antsImage (from the ANTsR package) and nifti S4 objects.

Usage

1
2
ants2oro(img, reorient = FALSE, reference = NULL, ...,
  cleanup = TRUE, drop_dim = TRUE)

Arguments

img

Object of class antsImage

reorient

Reorientation passed to readnii

reference

Object of class nifti to copy header information

...

Arguments passed to copyNIfTIHeader if reference is set and img is antsImage

cleanup

temporary files are deleted after they are read in

drop_dim

Should drop_img_dim be run after reading? Passed to readnii

Value

Object of class nifti.


neuroconductor-releases/extrantsr documentation built on Dec. 10, 2019, 12:07 a.m.