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/extrantsr documentation built on Feb. 10, 2020, 5:11 p.m.