oMath: Perform iMath on nifti objects

View source: R/oMath.R

oMathR Documentation

Perform iMath on nifti objects

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

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 June 3, 2024, 7:04 p.m.