fScan Reference Manual, Chapter 1 (CmdLineOptions): stats
usage: -stats flag ioref nbins bin0 binsize
The STATS command calculates simple summary statistics for the current data set. This command works on images or similar data sets (not on surfaces). The summary statistics calculated include:
Which voxels are included and which values are calculated can be controlled by the FLAG option (see below).
The meaning of the FLAG options are shown below (combine options by addition):
If a reference data set (IOREF) is specified, it will be used as a volume mask reference such that separate statistics are calculated for all voxels in the current data set that have the same voxel value in the reference data set. For example, if IOREF has 100 different regions (where each region is identified by a common voxel value), STATS will generate 100 different sets of summary values.
NBINS indicates how many ways the input data values should be binned.