Hi, Just a guess, but could it be that all the values within your image are positive and so the minimum is 0? One thing that I just tried and it seems to work is to divide your binary mask by your image and then take the max of that. So, effectively, you're taking the max of 1/x to find the min of x (I also tried multiplying by -1, but that didn't work). So if A is your binary (1's and 0's) mask and B is your image fslmaths A -div B inv_B fslstats inv_B -x will get the job done. Jeanette On Wed, Feb 1, 2012 at 3:30 PM, Jake Kuster <[log in to unmask]>wrote: > Dear FSLers, > > I masked a 3D stat map produced by Feat with an anatomical region, using > fslmaths. The resulting map I then tried to use fslstats to find > coordinates of max and min, in the following fashion: > > [puku:ROI_data] (nmr-stable5.1-env) fslstats > cope1_zstat1_mask_Left_Pallidum.nii.gz -x > 55 64 38 > [puku:ROI_data] (nmr-stable5.1-env) fslstats > cope1_zstat1_mask_Left_Pallidum.nii.gz -X > 0 0 0 > > I checked the masked map for the pallidum, and it appears fine. Fslstats > gives the same number of non-zero voxels as the original anatomical mask. > Why am I getting "0 0 0" as coordinates for the min voxel? In some other > queries, I am getting "0 0 0" as coordinates for the max voxel and min > seems ok. > > Thanks in advance! > > Jake >