Hello everyone,
I am trying to extract peak coordinates from given clusters in an 3D fMRI group image, e.g. a thresholded ICA z-score map.
Using MATLAB/SPM I am able to extract a single peak coordinate for each cluster by numbering the clusters with spm_bwlabel(), listing the voxel values per cluster and searching for the maximum value. However, I'd like to extract more than only one peak that might exist within each cluster (e.g. the SPM results viewer displays up to 3 peaks by default).
Did I miss an obvious solution or an SPM function, respectively? I could imagine to, within a main cluster, search for "subclusters" and again compute their peak values - but there might be an easier solution?
Any help is appreciated! :)
Best regards, Leon