Estimates Volume of Image from FSL
fslvolume(img, nonzero = FALSE, verbose = TRUE, ts = FALSE)
Object of class nifti, or path of file
(logical) Should the statistic be taken over non-zero voxels
(logical) print out command before running
(logical) is the series a timeseries (4D), invoking -t
option
Vector of unless ts option invoked, then matrix
This uses option -v or -V in fslstats