Image Volume

Share:

Description

Estimates Volume of Image from FSL

Usage

1
fslvolume(img, nonzero = FALSE, verbose = TRUE, ts = FALSE)

Arguments

img

Object of class nifti, or path of file

nonzero

(logical) Should the statistic be taken over non-zero voxels

verbose

(logical) print out command before running

ts

(logical) is the series a timeseries (4D), invoking -t option

Value

Vector of unless ts option invoked, then matrix

Note

This uses option -v or -V in fslstats

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.