Hi,
The output of cluster (using the -o or --oindex options) has a different
value for each cluster. For example, one of the clusters will have all
its voxels set to the value 1, another cluster will have all of its
voxels
set to the value 2, and so on, up until cluster N. To just extract one
cluster (for example, cluster number 7) then you just threshold the
output with fslmaths. For example:
fslmaths clusteroutput -thr 7 -uthr 7 -bin cluster7
will generate a binary image containing only cluster number 7 (where
all values within the cluster in this new binary image contain the value
1, not 7).
I hope this makes this clear for you.
All the best,
Mark
On 10 May 2010, at 14:56, haiyan zhang wrote:
> Thank you for your advice ,It works very well . What's more ,if I
> want to get every cluster's value separately.? What should I do?
>
> 2010/5/10 haiyan <[log in to unmask]>
> Hi,Gwenaelle
> Thank you for your quick reply!
> Yes ,I can use "cluster"command to get all the clusters,and make a
> 3D mask , and use fslstats command's -M -S options to get the mean
> FA and its SD. But I only got one number .I mean I get all the
> clusters up a specified threshold ,but I can get every cluster 's
> value separately. What should I do,then ?
> Thank you for any advice!
> Haiyan
>
|