fScan Reference Manual, Chapter 2 (CmdLineOptions:Expr): Volmax
usage: -e volmax [flag]
Replace each non-zero value in the data set with the maximum value in its 3x3x3 neighborhood.
If FLAG is nonzero, find maximum values around 0 voxels as well.
fScan Home, fScan Manual, CmdLineOptions, Expression Command, Manual Help