Hi - please see the first line of information if you just type "fslstats" - the order matters. Cheers. On 4 Aug 2009, at 06:04, Kristi Clark wrote: > Hi, > I'm relatively new to this email list, so I apologize if this has > already been discussed, but I have encountered some unexpected > behavior from fslstats (version 4.1.0). In particular, I get two > different answers for the following two commands: > > 1) fslstats input.img -m -k mask.img > 2) fslstats input.img -k mask.img -m > > In the first one, I seem to get the mean value for the whole image; > in other words, the mask isn't applied. In the second one, I get the > mean value for just the voxels that are in the mask. I would expect > to get the 2nd answer, regardless of the order of the arguments. Am > I doing something wrong? > > Thanks, > Kristi Clark > > > > > --------------------------------------------- > Kristi Clark, Ph.D. > Postdoctoral Scholar > Laboratory of Neuro Imaging > University of California, Los Angeles > > > > > --------------------------------------------------------------------------- Stephen M. Smith, Professor of Biomedical Engineering Associate Director, Oxford University FMRIB Centre FMRIB, JR Hospital, Headington, Oxford OX3 9DU, UK +44 (0) 1865 222726 (fax 222717) [log in to unmask] http://www.fmrib.ox.ac.uk/~steve ---------------------------------------------------------------------------