Almost.
If you do:
fslmeants -i mask -m mask --showall -o coords.txt
then you get an output file in the form:
12 12 12 ....
24 24 25 ...
36 37 33 ...
1 1 1 ....
That is, four lines, the first with all the x-coords, the second
with all the y-coords, the third with all the z-coords and the last
with the intensity values.
Hope this is good enough for what you want.
All the best,
Mark
On 19 Nov 2008, at 23:15, Michael Scheel wrote:
> Hi,
>
> I have a small self created mask from which I'd like to extract the
> nonzero
> values as a table of voxel coordinates?
>
> e.g.
> 12 24 36
> 12 24 37
> 12 25 33
>
> Is there a fsl command to do that?
>
> thanks, michael
>
|