This function calls fslstats -M -V to get product, aka the approximate sum.

fslsum(file, opts = "", ts = FALSE, ...)

Arguments

file

(character) filename of image to be checked

opts

Additional options to pass to fslstats

ts

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

...

options passed to fslstats

Value

Numeric value

Note

This may be approximate due to rounding