Hi Ye Yuan,Have you considered gray scale dilation in fslmaths? Say the image with the peaks you'd like to find is ${img}, and you'd like local maxima that are at least ${k} voxels apart. Then it would be something like this:
fslmaths ${img} -kernel sphere ${k} -dilF dilated
fslmaths dilated -sub ${img} -bin tmp
fslmaths dilated -bin -sub tmp -mul ${img} peaksThe output can then be further masked by clusters so as to include only the maxima within each cluster. And it can also be given to the command "cluster" to get their coordinates.
Hope this helps.
All the best,
AndersonOn 28 October 2014 18:43, Ye Yuan <[log in to unmask]> wrote:Hi FSL experts,I am trying to look for peak voxel coordinates in fMRI activation using the 'cluster' command, but I'm finding that it is missing some of the possible peaks within a large cluster. I'm wondering if any of you might know how to perform sub-cluster analysis in FSL. I suppose I could iteratively adjust the thresholding until I got all the peaks I wanted, but is there an easier way to do this?Thank you all in advance,Ye Yuan