Dear Jiang,
you should have a look at spm_bwlabel.{m,c}. It implements a cluster
labelling - it is used e.g. in SPM results display and SPM ROI tool.
Volkmar
Quoting Jiang Liu <[log in to unmask]>:
> Hi guys,
>
> I need a 3d cluster matlab script in my programs for data mining purpose,
> I'm new to spm, and wonder if there's any existing module that can do this
>
> say, take an image vol along with threshold, minimium cluster size etc as
> inputs and output a vol of clusters...
>
> Thanks in advance
>
>
> Jiang Liu
>
|