Wraps wb_command -volume-math to perform element-wise mathematical
operations on volume files at each voxel.
Usage
volume_math(
expression,
volume_out,
var,
fixnan = FALSE,
verbose = get_wb_verbosity()
)Value
The result of the underlying wb_cmd() call.
Examples
if (FALSE) { # \dontrun{
volume_math(
"clamp(x, 0, 100)",
volume_out = "clamped.nii.gz",
var = list(x = "input.nii.gz")
)
} # }