Hi Michael,
It isn't the thresh_zstat image that you want - that contains the z
statistic
values (post-thresholding). What you want is the cluster_mask_zstat
images.
These contain values from 0 to N where N is the number of clusters
found.
Note that the largest cluster has value N, the next largest has value
N-1, etc.
Then, to generate an image of the cluster number M just use avwmaths
like:
avwmaths cluster_mask_zstat1 -thr M -uthr M -bin outputclustermask
All the best,
Mark
On Friday, August 29, 2003, at 07:57 pm, Michael Lipton wrote:
> At the course in LA, one of the FMRIB people indicated that when
> viewed in
> FSLView, each cluster in thresh_zstat.hdr will have a unique integer
> value. This could be used to create a mask of one cluster only by
> thresholding in avwmaths. Now as I look at my zstat image in FSLview I
> am
> not clear how I identify the clusters.
>
> In any case, what is the best way to generate a binary mask of only one
> cluster?
>
> Thanks,
>
> Michael
|