oMath: Perform iMath on nifti objects

Description Usage Arguments Value

View source: R/oMath.R

Description

Images are converted nifti objects (from the oro.nifti package), an operation is performed using iMath, and the result is a nifti object.

Usage

1
oMath(img, ..., retfile = FALSE)

Arguments

img

Object of class nifti

...

Additional arguments passed to iMath

retfile

logical to indicate if an antsImage should be returned (useful for chaining)

Value

Object of class nifti


muschellij2/extrantsr documentation built on July 27, 2021, 7:41 a.m.